enable https with caddy root ca
This commit is contained in:
parent
fc86424caa
commit
e2666bdfad
4 changed files with 167 additions and 41 deletions
|
@ -5,14 +5,20 @@ services:
|
|||
restart: unless-stopped
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
- "443:443/udp"
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/proxy/caddy/data:/data
|
||||
- ${VOLUMES_PATH}/proxy/caddy/config:/config
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- ./web:/usr/share/caddy/web:ro
|
||||
networks:
|
||||
- web
|
||||
environment:
|
||||
- DOMAIN=${DOMAIN}
|
||||
- LOCAL_CA_NAME=${LOCAL_CA_NAME}
|
||||
cap_add:
|
||||
- cap_net_bind_service
|
||||
|
||||
|
||||
whoami:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue