From 117ebac77067962e950301c128e5e96975658571 Mon Sep 17 00:00:00 2001 From: Andil Date: Mon, 17 Aug 2026 15:19:32 +0000 Subject: [PATCH 1/3] fix: configure SMTP and public API URLs for deployments --- deploy/dev/docker-compose.yml | 4 ++++ deploy/preprod/docker-compose.yml | 4 ++++ deploy/prod/docker-compose.yml | 4 ++++ 3 files changed, 12 insertions(+) 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 " From 1f11a4e3dd38fcdbf313015401e2343d73fdda32 Mon Sep 17 00:00:00 2001 From: Andil Date: Mon, 17 Aug 2026 15:24:50 +0000 Subject: [PATCH 2/3] ci: retry develop deployment after SMTP secret setup From ecda263518b5eea5322b240703783655c206463d Mon Sep 17 00:00:00 2001 From: Andil Date: Mon, 17 Aug 2026 15:30:55 +0000 Subject: [PATCH 3/3] ci: retry deployment with Jenkins SMTP secret mount