- Caddy läuft jetzt als separater Stack unter proxy/ - proxy_network ist jetzt external in beiden Stacks - Verhindert dass docker compose down auf pfannkuchen Caddy mitnimmt - sysctls entfernt (nicht nötig auf Hetzner VPS) # Conflicts: # compose.yaml
25 lines
504 B
YAML
25 lines
504 B
YAML
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
|
|
- 443:443/udp
|
|
- 8448:8448
|
|
- 10.200.200.254:2019:2019
|
|
volumes:
|
|
- /app-config/caddy/data:/data
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
- /app-config/caddy/logs:/var/log/caddy
|