We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce5fd72 commit f4135d9Copy full SHA for f4135d9
1 file changed
scripts/setup-ssl.sh
@@ -53,7 +53,12 @@ docker compose -f docker-compose.prod.yml up -d nginx
53
sleep 3
54
55
# 申请包含三个子域名的单张证书
56
-docker compose -f docker-compose.prod.yml run --rm certbot certonly \
+# 注意: 使用 docker run 而非 docker compose run,避免 service entrypoint 的无限续期循环阻塞
57
+docker run --rm \
58
+ -v lead-mining-system_certbot_www:/var/www/certbot \
59
+ -v lead-mining-system_certbot_certs:/etc/letsencrypt \
60
+ --network lead-mining-net \
61
+ certbot/certbot certonly \
62
--webroot \
63
--webroot-path /var/www/certbot \
64
--email "kaneliu10@gmail.com" \
0 commit comments