This commit is contained in:
Qwerty 2024-08-12 16:54:16 +03:00
parent 8d8b0e0075
commit 6404556a82

View File

@ -19,7 +19,8 @@ services:
volumes: volumes:
- ./certs:/etc/letsencrypt - ./certs:/etc/letsencrypt
- ./html:/var/www/html - ./html:/var/www/html
# command: certonly --webroot --webroot-path=/var/www/html --email prbigoon@gmail.com --agree-tos --no-eff-email -d git.evil-bird.ru
# command: certonly --webroot --webroot-path=/var/www/html --email your.email@example --agree-tos --no-eff-email -d your.domain.example
command: renew --webroot --webroot-path=/var/www/html command: renew --webroot --webroot-path=/var/www/html
entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew --webroot --webroot-path=/var/www/html; sleep 12h & wait $${!}; done;" entrypoint: /bin/sh -c "trap exit TERM; while :; do certbot renew --webroot --webroot-path=/var/www/html; sleep 12h & wait $${!}; done;"
depends_on: depends_on: