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