Created
March 22, 2025 22:41
-
-
Save jmadden91/ae40edf5f1f7a35a46cc29ab5663eaa5 to your computer and use it in GitHub Desktop.
docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
caddy: | |
image: serfriz/caddy-cloudflare-ddns-security:latest | |
container_name: caddy | |
restart: unless-stopped | |
environment: | |
- CLOUDFLARE_API_TOKEN=**from cloudflare** | |
- DOMAIN=example.com | |
networks: | |
- proxy | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- ./Caddyfile:/etc/caddy/Caddyfile | |
- ./data:/data | |
- ./config:/config | |
- ./logs:/var/log | |
#################################################################################### | |
networks: | |
proxy: | |
external: true | |
################################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment