add certbot-dns.ini and compose volume

This commit is contained in:
Miraty 2025-03-15 23:25:20 +01:00
parent 6000b2606e
commit 61b2890dc8
3 changed files with 19 additions and 0 deletions

View file

@ -40,7 +40,10 @@ services:
- ./conf/php-fpm.conf:/etc/php$PHP_VERSION/php-fpm.d/servnest.conf:ro
- ./conf/sudoers:/etc/sudoers.d/servnest:ro
- ./conf/certbot.ini:/etc/letsencrypt/servnest.ini:ro
- ./conf/certbot-dns.ini:/etc/letsencrypt/servnest-dns.ini:ro
- ./conf/certbot-deploy-hook.sh:/root/certbot-deploy-hook.sh:ro
- ./conf/certbot-dns-challenge-hook.sh:/root/certbot-dns-challenge-hook.sh:ro
- ./conf/certbot-dns-cleanup-hook.sh:/root/certbot-dns-cleanup-hook.sh:ro
- ./data/reg/:/srv/servnest/reg/:rw
- ./data/ns/:/srv/servnest/ns/:rw
- ./data/ht/fs/:/srv/servnest/ht/fs/:rw

16
conf/certbot-dns.ini Normal file
View file

@ -0,0 +1,16 @@
non-interactive
agree-tos
no-eff-email
; Set your email address
email = "address@test.org"
manual
key-type = "rsa"
rsa-key-size = "3072"
deploy-hook = "/root/certbot-deploy-hook.sh"
manual-auth-hook = "/root/certbot-dns-challenge-hook.sh"
manual-cleanup-hook = "/root/certbot-dns-cleanup-hook.sh"