Using locally built images

This commit is contained in:
David Négrier 2021-02-02 11:34:29 +01:00
parent 274f5eba4c
commit cc53023586
2 changed files with 13 additions and 4 deletions

View File

@ -29,7 +29,10 @@ services:
front: front:
image: thecodingmachine/workadventure-front:master build:
context: .
dockerfile: front/Dockerfile
#image: thecodingmachine/workadventure-front:master
environment: environment:
DEBUG_MODE: "$DEBUG_MODE" DEBUG_MODE: "$DEBUG_MODE"
JITSI_URL: $JITSI_URL JITSI_URL: $JITSI_URL
@ -51,7 +54,10 @@ services:
restart: unless-stopped restart: unless-stopped
pusher: pusher:
image: thecodingmachine/workadventure-pusher:master build:
context: .
dockerfile: pusher/Dockerfile
#image: thecodingmachine/workadventure-pusher:master
command: yarn run runprod command: yarn run runprod
environment: environment:
SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" SECRET_JITSI_KEY: "$SECRET_JITSI_KEY"
@ -71,7 +77,10 @@ services:
restart: unless-stopped restart: unless-stopped
back: back:
image: thecodingmachine/workadventure-back:master build:
context: .
dockerfile: back/Dockerfile
#image: thecodingmachine/workadventure-back:master
command: yarn run runprod command: yarn run runprod
environment: environment:
SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" SECRET_JITSI_KEY: "$SECRET_JITSI_KEY"

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x set -x
set -o nounset errexit set -o nounset errexit
template_file_index=dist/index.html.tmpl template_file_index=dist/index.tmpl.html
generated_file_index=dist/index.html generated_file_index=dist/index.html
tmp_trackcodefile=/tmp/trackcode tmp_trackcodefile=/tmp/trackcode