Skip to content

Commit

Permalink
fix acme-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
tvrcgo committed Oct 25, 2023
1 parent 1b1e154 commit 287b99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
2 changes: 2 additions & 0 deletions acme-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ RUN set -eux; \
openssl \
tzdata \
;\
# install acme.sh
curl https://get.acme.sh | sh; \
# clear
rm -rf /root/.cache; \
rm -rf /var/cache/apk/*
Expand Down
17 changes: 0 additions & 17 deletions acme-runner/acme.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
#!/bin/sh

source /root/.env
curl https://get.acme.sh | sh;

case $DNS_SVC in
dns_gd)
export GD_Key="$DNS_AK"
export GD_Secret="$DNS_SK"
;;
dns_ali)
export Ali_Key="$DNS_AK"
export Ali_Secret="$DNS_SK"
;;
dns_dp)
export DP_Id="$DNS_AK"
export DP_Key="$DNS_SK"
;;
*) ;;
esac

MAIL="admin@$DOMAIN"

Expand Down

0 comments on commit 287b99a

Please sign in to comment.