restuctured services and docker-compose configs
This commit is contained in:
parent
8e77e85749
commit
65b5a3545c
4 changed files with 129 additions and 43 deletions
62
contrib/docker/docker-compose.dev.yaml
Normal file
62
contrib/docker/docker-compose.dev.yaml
Normal file
|
@ -0,0 +1,62 @@
|
|||
version: "3.3"
|
||||
services:
|
||||
front-dev:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: front/Dockerfile
|
||||
#image: thecodingmachine/workadventure-front:master
|
||||
environment:
|
||||
LIVE_RELOAD: "true"
|
||||
NODE_ENV: "develop"
|
||||
DEBUG_MODE: "$DEBUG_MODE"
|
||||
JITSI_URL: "$JITSI_URL"
|
||||
JITSI_PRIVATE_MODE: "$JITSI_PRIVATE_MODE"
|
||||
PUSHER_URL: "https://pusher.dev.${DOMAIN}"
|
||||
ICON_URL: "https://icon.${DOMAIN}"
|
||||
API_URL: "pusher.dev.${DOMAIN}"
|
||||
STUN_SERVER: "${STUN_SERVER}"
|
||||
TURN_SERVER: "${TURN_SERVER}"
|
||||
TURN_USER: "${TURN_USER}"
|
||||
TURN_PASSWORD: "${TURN_PASSWORD}"
|
||||
START_ROOM_URL: "${START_ROOM_URL}"
|
||||
MAX_PER_GROUP: "$MAX_PER_GROUP"
|
||||
MAX_USERNAME_LENGTH: "$MAX_USERNAME_LENGTH"
|
||||
FALLBACK_LOCALE: "${DEFAULT_LOCALE}"
|
||||
ports:
|
||||
- "127.0.0.1:8011:80"
|
||||
restart: unless-stopped
|
||||
|
||||
pusher-dev:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: pusher/Dockerfile
|
||||
#image: thecodingmachine/workadventure-pusher:master
|
||||
command: yarn run runprod
|
||||
environment:
|
||||
SECRET_JITSI_KEY: "$SECRET_JITSI_KEY"
|
||||
SECRET_KEY: yourSecretKey
|
||||
API_URL: back-dev:50051
|
||||
JITSI_URL: $JITSI_URL
|
||||
JITSI_ISS: $JITSI_ISS
|
||||
FRONT_URL: https://play.dev.${DOMAIN}
|
||||
ports:
|
||||
- "127.0.0.1:8012:8080"
|
||||
restart: unless-stopped
|
||||
|
||||
back-dev:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: back/Dockerfile
|
||||
#image: thecodingmachine/workadventure-back:master
|
||||
command: yarn run runprod
|
||||
environment:
|
||||
NODE_ENV: develop
|
||||
SECRET_JITSI_KEY: "$SECRET_JITSI_KEY"
|
||||
ADMIN_API_TOKEN: "$ADMIN_API_TOKEN"
|
||||
ADMIN_API_URL: "$ADMIN_API_URL"
|
||||
JITSI_URL: $JITSI_URL
|
||||
JITSI_ISS: $JITSI_ISS
|
||||
TURN_STATIC_AUTH_SECRET: "$TURN_STATIC_AUTH_SECRET"
|
||||
ports:
|
||||
- "127.0.0.1:8013:8080"
|
||||
restart: unless-stopped
|
Loading…
Add table
Add a link
Reference in a new issue