- Promoted p1, p2, p3 from worker to manager nodes for 4-node quorum - Removed unnecessary hostname constraints from service configs - Only traefik and portainer remain pinned to p0 - Services now auto-balance across all nodes via GlusterFS shared storage - Updated README with cluster overview and distribution strategy 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
501 B
YAML
16 lines
501 B
YAML
services:
|
|
tracker-nginx:
|
|
image: nginx:alpine
|
|
ports:
|
|
- 8180:80
|
|
networks:
|
|
- homelab
|
|
volumes:
|
|
- /home/doc/swarm-data/appdata/webservers/production/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- /home/doc/swarm-data/appdata/webservers/production/nginx/.conf/default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
- /home/doc/swarm-data/appdata/webfiles/production/taylors-development:/usr/share/nginx/html:ro
|
|
deploy:
|
|
replicas: 1
|
|
networks:
|
|
homelab:
|
|
external: true |