new acme_ca

This commit is contained in:
Andreas Knuth 2025-02-25 20:00:54 +01:00
parent 24913f7f5e
commit c939f7c629
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,8 @@
{ {
email andreas.knuth@gmail.com email {env.CLOUDFLARE_EMAIL}
acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN} acme_dns cloudflare {env.CLOUDFLARE_API_TOKEN}
acme_ca https://acme-v02.api.letsencrypt.org/directory
debug
} }
bizmatch.net { bizmatch.net {

View File

@ -5,7 +5,7 @@ services:
image: iarekylew00t/caddy-cloudflare:latest image: iarekylew00t/caddy-cloudflare:latest
restart: unless-stopped restart: unless-stopped
ports: ports:
# - "80:80" - "80:80"
- "443:443" - "443:443"
extra_hosts: extra_hosts:
- 'host.docker.internal:host-gateway' - 'host.docker.internal:host-gateway'
@ -24,6 +24,7 @@ services:
- /home/aknuth/log/caddy:/var/log/caddy - /home/aknuth/log/caddy:/var/log/caddy
environment: environment:
- CLOUDFLARE_API_TOKEN=q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG - CLOUDFLARE_API_TOKEN=q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
- CLOUDFLARE_EMAIL=andreas.knuth@gmail.com
networks: networks:
bizmatch: bizmatch: