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:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
# ============================================================
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user