Files

12 lines
522 B
YAML
Raw Permalink Normal View History

2026-11-15 18:19:02 +08:00
services:
certbot:
image: certbot/certbot:latest
container_name: certbot
ports:
- "10080:80"
- "10443:443"
volumes:
- ./letsencrypt:/etc/letsencrypt
- ./letsencrypt-var:/var/lib/letsencrypt
#command: revoke --cert-path /etc/letsencrypt/archive/www.kypydiy.xubi.org
command: certonly --standalone -d "kypydiy.xubi.org" -d "mail.kypydiy.xubi.org" -d "git.kypydiy.xubi.org" -d "nas.kypydiy.xubi.org" --email kypydiy2027@gmail.com --agree-tos --no-eff-email --non-interactive