ci: update failover
This commit is contained in:
+20
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user