prod template: Use docker-hub images by default
In production environments, it is more likely for people to use the stable versions from the docker hub. The build parameters were thus removed and the image variables uncommented.
This commit is contained in:
@@ -27,10 +27,7 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
front:
|
front:
|
||||||
build:
|
image: thecodingmachine/workadventure-front:${VERSION}
|
||||||
context: ../..
|
|
||||||
dockerfile: front/Dockerfile
|
|
||||||
#image: thecodingmachine/workadventure-front:${VERSION}
|
|
||||||
environment:
|
environment:
|
||||||
- DEBUG_MODE
|
- DEBUG_MODE
|
||||||
- JITSI_URL
|
- JITSI_URL
|
||||||
@@ -60,10 +57,7 @@ services:
|
|||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY}
|
||||||
|
|
||||||
pusher:
|
pusher:
|
||||||
build:
|
image: thecodingmachine/workadventure-pusher:${VERSION}
|
||||||
context: ../..
|
|
||||||
dockerfile: pusher/Dockerfile
|
|
||||||
#image: thecodingmachine/workadventure-pusher:${VERSION}
|
|
||||||
command: yarn run runprod
|
command: yarn run runprod
|
||||||
environment:
|
environment:
|
||||||
- SECRET_JITSI_KEY
|
- SECRET_JITSI_KEY
|
||||||
@@ -85,10 +79,7 @@ services:
|
|||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY}
|
||||||
|
|
||||||
back:
|
back:
|
||||||
build:
|
image: thecodingmachine/workadventure-back:${VERSION}
|
||||||
context: ../..
|
|
||||||
dockerfile: back/Dockerfile
|
|
||||||
#image: thecodingmachine/workadventure-back:${VERSION}
|
|
||||||
command: yarn run runprod
|
command: yarn run runprod
|
||||||
environment:
|
environment:
|
||||||
- SECRET_JITSI_KEY
|
- SECRET_JITSI_KEY
|
||||||
@@ -119,7 +110,7 @@ services:
|
|||||||
image: matthiasluedtke/iconserver:v3.13.0
|
image: matthiasluedtke/iconserver:v3.13.0
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.icon.rule=Host(`${ICON_HOST}`)"
|
- "traefik.http.routers.icon.rule=Host(`${ICON_HOST}`)"
|
||||||
- "traefik.http.routers.icon.entryPoints=web,traefik"
|
- "traefik.http.routers.icon.entryPoints=web"
|
||||||
- "traefik.http.services.icon.loadbalancer.server.port=8080"
|
- "traefik.http.services.icon.loadbalancer.server.port=8080"
|
||||||
- "traefik.http.routers.icon-ssl.rule=Host(`${ICON_HOST}`)"
|
- "traefik.http.routers.icon-ssl.rule=Host(`${ICON_HOST}`)"
|
||||||
- "traefik.http.routers.icon-ssl.entryPoints=websecure"
|
- "traefik.http.routers.icon-ssl.entryPoints=websecure"
|
||||||
|
|||||||
Reference in New Issue
Block a user