fix(infra): rename external network to traefik_proxy matching homelab setup
Some checks failed
Build & Publish Docker Image / build-and-push (push) Failing after 25s
Some checks failed
Build & Publish Docker Image / build-and-push (push) Failing after 25s
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,7 @@ services:
|
||||
- searxng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
- traefik_proxy
|
||||
- internal
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
# Specify which port Traefik should forward traffic to inside the container
|
||||
- "traefik.http.services.kochwas.loadbalancer.server.port=3000"
|
||||
# Explicitly tell Traefik which network to use (since kochwas is on two networks)
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.docker.network=traefik_proxy"
|
||||
|
||||
searxng:
|
||||
# Absichtlich nur intern erreichbar — keine Traefik-Labels, kein externer Port.
|
||||
@@ -41,9 +41,9 @@ services:
|
||||
- internal
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
# Muss dem Namen des externen Traefik-Netzwerks entsprechen (ggf. in `name:` ändern).
|
||||
traefik_proxy:
|
||||
# Dasselbe externe Netz wie bei deinem Gitea-Compose.
|
||||
external: true
|
||||
internal:
|
||||
# Eigenes internes Netz für kochwas ↔ searxng. Wird von Compose automatisch angelegt.
|
||||
# Eigenes internes Netz für kochwas ↔ searxng, von außen nicht erreichbar.
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user