add CLOUDFLARE_TOKEN to env vars
This commit is contained in:
parent
12c5cc0b26
commit
daf09c2688
@ -20,6 +20,7 @@ ENV GENERATE_DHPARAM=true
|
|||||||
ENV TZ=UTC
|
ENV TZ=UTC
|
||||||
ENV PUID=1000
|
ENV PUID=1000
|
||||||
ENV PGID=1000
|
ENV PGID=1000
|
||||||
|
ENV CLOUDFLARE_TOKEN=
|
||||||
|
|
||||||
#Get required packages
|
#Get required packages
|
||||||
RUN apk update && apk add curl bash python3 py3-virtualenv procps tzdata nano shadow xz busybox-suid openssl
|
RUN apk update && apk add curl bash python3 py3-virtualenv procps tzdata nano shadow xz busybox-suid openssl
|
||||||
|
@ -18,6 +18,7 @@ Dockerised Certbot that utilises cron to schedule creating and renewing SSL cert
|
|||||||
docker run -d --name certbot \
|
docker run -d --name certbot \
|
||||||
-e EMAIL=admin@domain.com \
|
-e EMAIL=admin@domain.com \
|
||||||
-e DOMAINS=domain.com \
|
-e DOMAINS=domain.com \
|
||||||
|
-e CLOUDFLARE_TOKEN=123abc
|
||||||
-v /docker/certbot-cron:/config \
|
-v /docker/certbot-cron:/config \
|
||||||
git.mrmeeb.stream/mrmeeb/certbot-cron:latest
|
git.mrmeeb.stream/mrmeeb/certbot-cron:latest
|
||||||
```
|
```
|
||||||
@ -35,6 +36,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- EMAIL=admin@domain.com
|
- EMAIL=admin@domain.com
|
||||||
- DOMAINS=domain.com,*.domain.com
|
- DOMAINS=domain.com,*.domain.com
|
||||||
|
- CLOUDFLARE_TOKEN=123abc
|
||||||
```
|
```
|
||||||
|
|
||||||
## Environment Variables:
|
## Environment Variables:
|
||||||
|
@ -26,6 +26,7 @@ INTERVAL=${INTERVAL}
|
|||||||
STAGING=${STAGING}
|
STAGING=${STAGING}
|
||||||
PROPOGATION_TIME=${PROPOGATION_TIME}
|
PROPOGATION_TIME=${PROPOGATION_TIME}
|
||||||
GENERATE_DHPARAM=${GENERATE_DHPARAM}
|
GENERATE_DHPARAM=${GENERATE_DHPARAM}
|
||||||
|
CLOUDFLARE_TOKEN=${CLOUDFLARE_TOKEN}
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user