ci: update failover
Push -> develop / Build Docker images (push) Successful in 9s
Push -> develop / Deploy (push) Successful in 19s
Push -> develop / Notify on result (push) Successful in 0s

This commit is contained in:
sangnn
2026-06-23 03:04:59 +00:00
parent f58ec37b8a
commit f971c4cdaa
5 changed files with 78 additions and 69 deletions
+20 -2
View File
@@ -6,7 +6,7 @@ services:
env_file:
- .env
ports:
- "127.0.0.1:5000:5000"
- "0.0.0.0:5000:5000"
depends_on:
db:
condition: service_healthy
@@ -27,7 +27,7 @@ services:
env_file:
- .env
ports:
- "127.0.0.1:5001:5000"
- "0.0.0.0:5001:5000"
depends_on:
db:
condition: service_healthy
@@ -79,6 +79,24 @@ services:
ports:
- "6379:6379"
nginx:
image: nginx:1.27-alpine
volumes:
- ./docker/nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "${HTTP_PORT:-80}:80"
depends_on:
- api1
- api2
networks:
- authy2-network
restart: unless-stopped
healthcheck:
test: ["CMD", "nginx", "-t"]
interval: 30s
timeout: 10s
retries: 3
zerotier-reconciler:
image: gatehouse-api-job:${IMAGE_TAG:-latest}
env_file: