63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
version: "3.3"
|
|
services:
|
|
front:
|
|
build:
|
|
context: ../..
|
|
dockerfile: front/Dockerfile
|
|
#image: thecodingmachine/workadventure-front:master
|
|
environment:
|
|
#LIVE_RELOAD: "true"
|
|
NODE_ENV: "production"
|
|
DEBUG_MODE: "$DEBUG_MODE"
|
|
JITSI_URL: "$JITSI_URL"
|
|
JITSI_PRIVATE_MODE: "$JITSI_PRIVATE_MODE"
|
|
PUSHER_URL: "https://pusher.${DOMAIN}"
|
|
ICON_URL: "https://icon.${DOMAIN}"
|
|
API_URL: "pusher.${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:8001:80"
|
|
restart: unless-stopped
|
|
|
|
pusher:
|
|
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:50051
|
|
JITSI_URL: $JITSI_URL
|
|
JITSI_ISS: $JITSI_ISS
|
|
FRONT_URL: https://play.${DOMAIN}
|
|
ports:
|
|
- "127.0.0.1:8002:8080"
|
|
restart: unless-stopped
|
|
|
|
back:
|
|
build:
|
|
context: ../..
|
|
dockerfile: back/Dockerfile
|
|
#image: thecodingmachine/workadventure-back:master
|
|
command: yarn run runprod
|
|
environment:
|
|
NODE_ENV: production
|
|
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:8003:8080"
|
|
restart: unless-stopped
|
|
|