From 2a58e0c731f0fd52219f91ee7667e3dd2ae6e72f Mon Sep 17 00:00:00 2001 From: devops Date: Wed, 14 Oct 2026 21:20:38 +0000 Subject: [PATCH] fix(revalidation): load runtime secret from env file --- scripts/compose.prod.yml | 5 +++++ scripts/compose.stage.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/scripts/compose.prod.yml b/scripts/compose.prod.yml index 3a370039..6a84db3e 100644 --- a/scripts/compose.prod.yml +++ b/scripts/compose.prod.yml @@ -30,6 +30,8 @@ services: env_file: - path: .support-chat.env required: false + - path: .revalidation.env + required: false environment: - NODE_ENV=production - ENABLE_SWAGGER=false @@ -62,6 +64,9 @@ services: VITE_API_URL: "https://api.canina.ir" container_name: canino_frontend_prod restart: always + env_file: + - path: .revalidation.env + required: false labels: - "traefik.enable=true" - "traefik.http.routers.canina-prod.rule=Host(`canina.ir`) || Host(`www.canina.ir`) || Host(`admin.canina.ir`)" diff --git a/scripts/compose.stage.yml b/scripts/compose.stage.yml index 6f5fff0b..5dc24761 100644 --- a/scripts/compose.stage.yml +++ b/scripts/compose.stage.yml @@ -30,6 +30,8 @@ services: env_file: - path: .support-chat.env required: false + - path: .revalidation.env + required: false dns: - 217.218.127.127 - 217.218.155.155 @@ -67,6 +69,9 @@ services: VITE_API_URL: "https://stageapi.canina.ir" container_name: canino_frontend_stage restart: always + env_file: + - path: .revalidation.env + required: false dns: - 217.218.127.127 - 217.218.155.155