Linked configuration

This commit is contained in:
Fabio Sinibaldi 2025-03-04 16:03:23 +01:00
parent 8f614c61f7
commit ddbc6a11f2
1 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@ version: '3'
networks:
cluster:
external: false
driver: bridge
services:
@ -39,7 +39,9 @@ services:
nginx:
image: nginx:latest
ports:
- '8088:80'
- '80:80'
volumes:
- ./nginx/config.con:/etc/nginx/nginx.con:ro
deploy:
replicas: 4
update_config:
@ -57,5 +59,8 @@ services:
window: 120s
healthcheck:
test: ["CMD", "service", "nginx", "status"]
networks:
- cluster