feat: add production blue-green frontend deployment

This commit is contained in:
2026-09-20 21:44:56 +08:00
parent 97d0f82256
commit 5887837407
4 changed files with 118 additions and 31 deletions
+6 -2
View File
@@ -8,12 +8,16 @@ services:
ports:
- "127.0.0.1:${HOST_PORT:-9002}:80"
environment:
API_UPSTREAM: "http://gateway:9000"
OVERSEAS_API_UPSTREAM: "http://gateway-overseas:9300"
API_UPSTREAM: "http://gateway-active:9000"
OVERSEAS_API_UPSTREAM: "http://gateway-overseas-active:9300"
networks:
- infra-network
- routing-network
networks:
infra-network:
external: true
name: firstleg-prod-infra-network
routing-network:
external: true
name: firstleg-production-routing