fix(caddy): route upstreams over docker networks

- replace host.docker.internal upstreams for document and komga
- attach home-caddy to document-server and komga docker networks
- avoid host-published port dependency and docker0 path
This commit is contained in:
Hyungi Ahn
2026-05-08 04:08:20 +00:00
parent 2626d68e0f
commit ff1d6223cf
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ jellyfin.hyungi.net {
# Komga — GPU local
# ============================================================
komga.hyungi.net {
reverse_proxy host.docker.internal:25600
reverse_proxy komga:25600
}
# ============================================================
@@ -73,7 +73,7 @@ document.hyungi.net {
request_body {
max_size 100MB
}
reverse_proxy host.docker.internal:8080
reverse_proxy hyungi_document_server-caddy-1:80
}
# ============================================================
+6
View File
@@ -22,6 +22,8 @@ services:
condition: service_healthy
networks:
- gateway-net
- komga_default
- hyungi_document_server_default
home-fail2ban:
image: crazymax/fail2ban:latest
@@ -103,3 +105,7 @@ volumes:
networks:
gateway-net:
name: home-gateway-network
komga_default:
external: true
hyungi_document_server_default:
external: true