Initial: Caddy reverse proxy stack
This commit is contained in:
parent
cd45f60d24
commit
345b8fc3cb
1 changed files with 24 additions and 0 deletions
24
compose.yaml
Normal file
24
compose.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
networks:
|
||||
proxy_network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
caddy:
|
||||
image: caddy
|
||||
container_name: caddy
|
||||
restart: always
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
- proxy_network
|
||||
expose:
|
||||
- 2019
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443/tcp
|
||||
- 8448:8448
|
||||
- 10.200.200.254:2019:2019
|
||||
volumes:
|
||||
- /app-config/caddy/data:/data
|
||||
- /app-config/caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||
- /app-config/caddy/logs:/var/log/caddy
|
||||
Loading…
Add table
Add a link
Reference in a new issue