This commit is contained in:
Prod 2024-08-24 22:23:19 +00:00
parent b2e892a6a6
commit 7adf8f3daf
4 changed files with 6 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

1
html/index.html Normal file
View File

@ -0,0 +1 @@
<html><body><h1>Test Page</h1></body></html>