Fix UI networking across gateway recreation

This commit is contained in:
Mikei386 committed 2026-09-08 15:56:12 +02:00
1 parent 5e18b7776b
commit eeebbd06eb
8 files changed
+40 -38

No files matched your search

+2 -7
View File
@@ -50,11 +50,6 @@ services:
- /tmp:size=16m,mode=1777
volumes:
- "${WIREGUARD_CONFIG_FILE:-/etc/mike-ai/wireguard/fritz-athena.conf}:/run/secrets/fritz-athena.conf:ro"
# Namespace-sharing services cannot publish ports themselves. The owner
# must keep these bindings so a gateway recreation cannot hide their UIs.
ports:
- "8099:8099"
- "9443:9443"
networks:
frontend:
ipv4_address: 172.30.10.254
@@ -843,7 +838,7 @@ services:
image: mike-ai/llama-dashboard:local
container_name: mike-ai-llama-dashboard
restart: unless-stopped
network_mode: "service:wireguard-gateway"
networks: [frontend]
gpus: all
read_only: true
tmpfs:
@@ -884,7 +879,7 @@ services:
image: ${PORTAINER_IMAGE:-portainer/portainer-ce@sha256:511f3f06c96fe3b993ebeaafde311c1959cae73a7ef825dba6397d51b450dffa}
container_name: mike-ai-portainer
restart: unless-stopped
network_mode: "service:wireguard-gateway"
networks: [frontend]
command: [--no-setup-token]
volumes:
- /var/run/docker.sock:/var/run/docker.sock