feat: Adds caddy readme.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user