docker-compose.yml hinzugefügt
This commit is contained in:
commit
b30bdb651e
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: "2"
|
||||
|
||||
services:
|
||||
letsencrypt-cloudflare:
|
||||
image: certbot/dns-cloudflare
|
||||
|
||||
# Dry Run
|
||||
command: certonly --non-interactive --dns-cloudflare --dns-cloudflare-credentials /opt/cloudflare/credentials --agree-tos -d test.example.com --server https://acme-v02.api.letsencrypt.org/directory --dry-run
|
||||
|
||||
# Issue certificate
|
||||
# command: certonly --non-interactive --dns-cloudflare --dns-cloudflare-credentials /opt/cloudflare/credentials --agree-tos -d test.example.com --server https://acme-v02.api.letsencrypt.org/directory
|
||||
|
||||
# Renew certificate
|
||||
# command: renew --non-interactive --no-self-upgrade --dns-cloudflare --dns-cloudflare-credentials /opt/cloudflare/credentials --agree-tos --server https://acme-v02.api.letsencrypt.org/directory
|
||||
|
||||
volumes:
|
||||
- ./cloudflare:/opt/cloudflare
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
- ./letsencrypt/log:/var/log/letsencrypt
|
Loading…
Reference in New Issue
Block a user