modifica al funzionamento del certbot
This commit is contained in:
3 files changed
+34
-6
No files matched your search
+3
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user