diff --git a/docker/update.sh b/docker/update.sh index fd71f08..7bbf919 100644 --- a/docker/update.sh +++ b/docker/update.sh @@ -4,7 +4,12 @@ set -u if [ "${ACME_ENABLED:=true}" = "true" ]; then # 使用acme获取/更新证书 - ${ACME_HOME}/acme.sh ${ACME_PARAMS:-} --force --issue --cert-home ${CERT_HOME} -d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} --dns ${ACME_DNS_TYPE} + ${ACME_HOME}/acme.sh ${ACME_PARAMS:-} \ + --force --issue --cert-home ${CERT_HOME} \ + -d ${ACME_DOMAIN} -d *.${ACME_DOMAIN} \ + --dns ${ACME_DNS_TYPE} \ + --key-file ${CERT_HOME}/${ACME_DOMAIN}/yevpt.com.key \ + --fullchain-file ${CERT_HOME}/${ACME_DOMAIN}/fullchain.cer \ fi # 添加刷新url