Add edge01 Caddy configuration

This commit is contained in:
2026-08-03 12:05:11 -04:00
parent 7daba4343e
commit ea924fd405
2 changed files with 104 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
services:
caddy:
image: caddy:2-alpine
container_name: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./site:/srv:ro
- ./data:/data
- ./config:/config
networks:
- proxy
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
proxy:
external: true