modifica al funzionamento del certbot

This commit is contained in:
sbierti committed 2025-11-30 11:57:01 +01:00
1 parent 5206e2ecd1
commit 7cb11b710a
3 files changed
+34 -6

No files matched your search

+3 -2
View File
@@ -46,7 +46,7 @@ services:
timeout: 10s
retries: 3
# Certbot per Let's Encrypt
# Certbot per Let's Encrypt - Auto Renewal
certbot:
image: certbot/certbot:latest
container_name: certbot
@@ -55,7 +55,8 @@ services:
- certbot-certs:/etc/letsencrypt:rw
- certbot-lib:/var/lib/letsencrypt:rw
- certbot-logs:/var/log/letsencrypt:rw
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew --webroot --webroot-path=/var/www/certbot --quiet; sleep 12h & wait $${!}; done;'"
- ./certbot-entrypoint.sh:/entrypoint.sh:ro
entrypoint: /entrypoint.sh
networks:
- app-network