split: Caddy in eigenen proxy/ Stack ausgelagert
- 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
This commit is contained in:
parent
50a4b15148
commit
86ada3e322
3 changed files with 302 additions and 0 deletions
25
proxy/compose.yaml
Normal file
25
proxy/compose.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue