This repository has been archived on 2025-11-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
swarm-production/tracker-stack.yml
John 3e30c33fbe
Some checks failed
Deploy Stack to Swarm / deploy (push) Failing after 58s
staging for gitea runner
2025-11-12 17:46:19 -05:00

27 lines
791 B
YAML

services:
tracker-nginx:
image: nginx:alpine
ports:
- 8180:80
networks:
- homelab
volumes:
- /home/doc/projects/swarm-data/appdata/webservers/production/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- /home/doc/projects/swarm-data/appdata/webservers/production/nginx/.conf/default.conf:/etc/nginx/conf.d/default.conf:ro
- /home/doc/projects/swarm-data/appdata/webfiles/production/taylors-development:/usr/share/nginx/html:ro
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
deploy:
replicas: 1
resources:
limits:
memory: 256M
reservations:
memory: 64M
networks:
homelab:
external: true