change into Dockerfile cerbot -p to 00http-01-port

This commit is contained in:
2025-05-28 13:21:21 +03:00
parent cdd5ea6def
commit 81fd806691
+1 -1
View File
@@ -13,4 +13,4 @@ FROM certbot/certbot:latest
# Указываем точку входа (можно и через command в compose) # Указываем точку входа (можно и через command в compose)
ENTRYPOINT ["sh", "-c"] ENTRYPOINT ["sh", "-c"]
CMD ["certbot certonly --standalone -p ${CERTBOT_PORT} --noninteractive --agree-tos --email ${EMAIL} -d ${DOMAINS} --keep-until-expiring"] CMD ["certbot certonly --standalone --http-01-port ${CERTBOT_PORT} --noninteractive --agree-tos --email ${EMAIL} -d ${DOMAINS} --keep-until-expiring"]