This commit is contained in:
Qwerty 2024-08-25 01:25:56 +03:00
commit 9757c410e3
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
certs/

View File

@ -18,6 +18,8 @@ services:
volumes:
- ./certs:/etc/letsencrypt
- ./html:/var/www/html
command: certonly --webroot --webroot-path=/var/www/html --email prbigoon@gmail.com --agree-tos --staging --no-eff-email -d git.evil-bird.ru
# command: certonly --webroot --webroot-path=/var/www/html --email prbigoon@gmail.com --agree-tos --no-eff-email -d git.evil-bird.ru
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;"
depends_on:
- nginx