From 253b802461f2d0cd629902f59d2cd6ab7dd33e41 Mon Sep 17 00:00:00 2001 From: kchou Date: Sun, 15 Nov 2026 18:19:02 +0800 Subject: [PATCH] add certbot --- certbot/docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 certbot/docker-compose.yml diff --git a/certbot/docker-compose.yml b/certbot/docker-compose.yml new file mode 100644 index 0000000..5ee3d14 --- /dev/null +++ b/certbot/docker-compose.yml @@ -0,0 +1,12 @@ +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