From 74534772acd39b92a245d9c8b4baeedbda283feb Mon Sep 17 00:00:00 2001 From: JL Euler Date: Wed, 16 Feb 2022 11:46:58 +0100 Subject: [PATCH] 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. --- contrib/docker/docker-compose.prod.yaml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/contrib/docker/docker-compose.prod.yaml b/contrib/docker/docker-compose.prod.yaml index 80ed192b..02a313fb 100644 --- a/contrib/docker/docker-compose.prod.yaml +++ b/contrib/docker/docker-compose.prod.yaml @@ -27,10 +27,7 @@ services: front: - build: - context: ../.. - dockerfile: front/Dockerfile - #image: thecodingmachine/workadventure-front:${VERSION} + image: thecodingmachine/workadventure-front:${VERSION} environment: - DEBUG_MODE - JITSI_URL @@ -60,10 +57,7 @@ services: restart: ${RESTART_POLICY} pusher: - build: - context: ../.. - dockerfile: pusher/Dockerfile - #image: thecodingmachine/workadventure-pusher:${VERSION} + image: thecodingmachine/workadventure-pusher:${VERSION} command: yarn run runprod environment: - SECRET_JITSI_KEY @@ -85,10 +79,7 @@ services: restart: ${RESTART_POLICY} back: - build: - context: ../.. - dockerfile: back/Dockerfile - #image: thecodingmachine/workadventure-back:${VERSION} + image: thecodingmachine/workadventure-back:${VERSION} command: yarn run runprod environment: - SECRET_JITSI_KEY @@ -119,7 +110,7 @@ services: image: matthiasluedtke/iconserver:v3.13.0 labels: - "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.routers.icon-ssl.rule=Host(`${ICON_HOST}`)" - "traefik.http.routers.icon-ssl.entryPoints=websecure"