run as root
This commit is contained in:
parent
09b7a16fd1
commit
1a4d14b396
|
|
@ -2,12 +2,9 @@ services:
|
||||||
certbot:
|
certbot:
|
||||||
image: certbot/dns-cloudflare
|
image: certbot/dns-cloudflare
|
||||||
volumes:
|
volumes:
|
||||||
- ./letsencrypt:/letsencrypt
|
- ./letsencrypt:/etc/letsencrypt
|
||||||
- ./cloudflare:/cloudflare
|
- ./cloudflare:/cloudflare
|
||||||
- ./certbot/logs:/logs
|
|
||||||
- ./certbot/work:/work
|
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN=${DOMAIN:-mail.haiky.app}
|
- DOMAIN=${DOMAIN:-mail.haiky.app}
|
||||||
- EMAIL=${EMAIL:-deine-email@example.com}
|
- EMAIL=${EMAIL:-deine-email@example.com}
|
||||||
user: "${UID:-1000}:${GID:-1000}"
|
command: certonly --dns-cloudflare --dns-cloudflare-credentials /cloudflare/cloudflare.ini --email ${EMAIL:-deine-email@example.com} --agree-tos --no-eff-email -d ${DOMAIN:-mail.haiky.app}
|
||||||
command: certonly --dns-cloudflare --dns-cloudflare-credentials /cloudflare/cloudflare.ini --email ${EMAIL:-deine-email@example.com} --agree-tos --no-eff-email -d ${DOMAIN:-mail.haiky.app} --config-dir /letsencrypt --work-dir /work --logs-dir /logs
|
|
||||||
Loading…
Reference in New Issue