refactor: switch to caddy image with cloudflare dns

This commit is contained in:
Derrick Hammer 2023-12-25 03:57:31 -05:00
parent 135267fdd3
commit 9ba24aff51
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 2 deletions

View File

@ -14,15 +14,16 @@ services:
volumes: volumes:
- ./melli_data:/meili_data - ./melli_data:/meili_data
caddy: caddy:
image: caddy image: iarekylew00t/caddy-cloudflare
command: caddy run command: caddy run
env_file:
- .env
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
- "443:443/udp" - "443:443/udp"
volumes: volumes:
- ./caddy/data/:/data - ./caddy/data/:/data
- ./caddy/config/Caddyfile:/etc/caddy/Caddyfile
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
melli_init: melli_init: