diff --git a/deploy/dev/docker-compose.yml b/deploy/dev/docker-compose.yml index a23ae31..c1bafc4 100644 --- a/deploy/dev/docker-compose.yml +++ b/deploy/dev/docker-compose.yml @@ -24,6 +24,9 @@ services: image: ${REGISTRY}/the-tip-top/backend:${IMAGE_TAG} restart: unless-stopped + env_file: + - /opt/furious-ducks/secrets/tiptop-mail.env + depends_on: postgres: condition: service_healthy @@ -34,6 +37,7 @@ services: DATABASE_URL: postgresql://tiptop:tiptop_dev_password@postgres:5432/the_tip_top_db JWT_SECRET: dev_secret_change_me APP_URL: https://api-dev.dsp5-archi-o24a-4-5-g4.fr + API_PUBLIC_URL: https://api-dev.dsp5-archi-o24a-4-5-g4.fr command: > sh -c " diff --git a/deploy/preprod/docker-compose.yml b/deploy/preprod/docker-compose.yml index e8463b9..5296846 100644 --- a/deploy/preprod/docker-compose.yml +++ b/deploy/preprod/docker-compose.yml @@ -24,6 +24,9 @@ services: image: ${REGISTRY}/the-tip-top/backend:${IMAGE_TAG} restart: unless-stopped + env_file: + - /opt/furious-ducks/secrets/tiptop-mail.env + depends_on: postgres: condition: service_healthy @@ -34,6 +37,7 @@ services: DATABASE_URL: postgresql://tiptop_preprod:tiptop_preprod_password@postgres:5432/the_tip_top_preprod JWT_SECRET: preprod_secret_change_me APP_URL: https://api-preprod.dsp5-archi-o24a-4-5-g4.fr + API_PUBLIC_URL: https://api-preprod.dsp5-archi-o24a-4-5-g4.fr command: > sh -c " diff --git a/deploy/prod/docker-compose.yml b/deploy/prod/docker-compose.yml index e784adb..cae0a67 100644 --- a/deploy/prod/docker-compose.yml +++ b/deploy/prod/docker-compose.yml @@ -24,6 +24,9 @@ services: image: ${REGISTRY}/the-tip-top/backend:${IMAGE_TAG} restart: unless-stopped + env_file: + - /opt/furious-ducks/secrets/tiptop-mail.env + depends_on: postgres: condition: service_healthy @@ -34,6 +37,7 @@ services: DATABASE_URL: postgresql://tiptop_prod:tiptop_prod_password@postgres:5432/the_tip_top_prod JWT_SECRET: prod_secret_change_me APP_URL: https://api.dsp5-archi-o24a-4-5-g4.fr + API_PUBLIC_URL: https://api.dsp5-archi-o24a-4-5-g4.fr command: > sh -c "