This commit is contained in:
2026-05-18 22:32:08 +08:00
parent 6ab44ea187
commit bd4caa0f09
22 changed files with 1178 additions and 297 deletions

View File

@@ -18,17 +18,11 @@ services:
# 日志
- ./logs:/usr/local/openresty/nginx/logs
# Certbot 是给脚本或手动命令使用的工具容器,不是常驻服务。
# ./www 用于 ACME HTTP-01 域名验证,./certs 用于持久化保存签发的证书。
certbot:
image: certbot/certbot
container_name: certbot
volumes:
- ./www:/var/www
- ./certs:/etc/letsencrypt
entrypoint: ""
command: sh -c "certbot certonly \
--webroot -w /var/www \
-d ai.sggai.site \
-d dms.sggai.site \
-d lsbd2.loveteemo.com \
--email 243823965@qq.com \
--agree-tos --non-interactive --force-renewal"