ultimate ci/cd pipeline

This commit is contained in:
arrelin
2025-12-19 10:54:57 +03:00
parent a4b9ab2074
commit 0fdc20e750

View File

@@ -61,6 +61,20 @@ services:
- certbot_conf:/etc/letsencrypt:rw - certbot_conf:/etc/letsencrypt:rw
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'" entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
watchtower:
image: containrrr/watchtower
container_name: family_budget_watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_POLL_INTERVAL=300
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_RESTARTING=true
- WATCHTOWER_ROLLING_RESTART=true
- WATCHTOWER_LABEL_ENABLE=false
command: family_budget_backend family_budget_frontend
restart: unless-stopped
volumes: volumes:
postgres_data: postgres_data:
driver: local driver: local