feat: Adds caddy readme.

This commit is contained in:
2025-03-14 14:06:14 -04:00
parent 4cf4d1a7c6
commit c2ce3f0791
2 changed files with 45 additions and 4 deletions

View File

@@ -1,10 +1,13 @@
# This network needs created prior to running the container.
#
# docker network create --driver=bridge proxy
#
networks:
proxy:
external: true
volumes:
caddy_config:
caddy_data:
services:
caddy:
@@ -23,12 +26,14 @@ services:
- 80:80
- 443:443
- "443:443/udp"
- 2019:2019
- 2019:2019 # only needed if you want to access the api.
cap_add:
- NET_ADMIN
volumes:
- $PWD/config:/etc/caddy
- caddy_data:/data
- ./config:/etc/caddy
- ./data:/data
- caddy_config:/config
networks:
- proxy
security_opt:
- no-new-privileges:true