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
|
- searxng
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- traefik_proxy
|
||||||
- internal
|
- internal
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
@@ -26,7 +26,7 @@ services:
|
|||||||
# Specify which port Traefik should forward traffic to inside the container
|
# Specify which port Traefik should forward traffic to inside the container
|
||||||
- "traefik.http.services.kochwas.loadbalancer.server.port=3000"
|
- "traefik.http.services.kochwas.loadbalancer.server.port=3000"
|
||||||
# Explicitly tell Traefik which network to use (since kochwas is on two networks)
|
# Explicitly tell Traefik which network to use (since kochwas is on two networks)
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=traefik_proxy"
|
||||||
|
|
||||||
searxng:
|
searxng:
|
||||||
# Absichtlich nur intern erreichbar — keine Traefik-Labels, kein externer Port.
|
# Absichtlich nur intern erreichbar — keine Traefik-Labels, kein externer Port.
|
||||||
@@ -41,9 +41,9 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
traefik_proxy:
|
||||||
# Muss dem Namen des externen Traefik-Netzwerks entsprechen (ggf. in `name:` ändern).
|
# Dasselbe externe Netz wie bei deinem Gitea-Compose.
|
||||||
external: true
|
external: true
|
||||||
internal:
|
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
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user