Skip to content

Commit

Permalink
Add basic docker compose and tiltfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rblaine95 committed Jun 21, 2023
1 parent f28d114 commit 05c87e5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://asdf-vm.com/
# https://github.com/jdxcode/rtx
nodejs 18
tilt latest
12 changes: 12 additions & 0 deletions Tiltfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# https://docs.tilt.dev/
docker_build(
'local/ssi-trust-registry',
context='.',
dockerfile='Dockerfile',
live_update=[
sync('./', '/app'),
run('yarn install', trigger=['./package.json', './yarn.lock']),
]
)

docker_compose('docker-compose.yaml')
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: '3.8'

services:
ssi-trust-registry:
image: ${REGISTRY:-local}/ssi-trust-registry:${IMAGE_TAG:-latest}
container_name: ssi-trust-registry
build:
context: .
dockerfile: ./Dockerfile
ports:
- 3000:3000

0 comments on commit 05c87e5

Please sign in to comment.