fix: keep panel default gateway stable across instance networks

This commit is contained in:
2026-10-15 10:12:03 +08:00
parent f6fc681a68
commit ee22603726
+4
View File
@@ -10,6 +10,10 @@ services:
- ${DOCKER_GID:?Set the numeric group ID of the Docker socket} - ${DOCKER_GID:?Set the numeric group ID of the Docker socket}
ports: ports:
- '127.0.0.1:8088:8088' - '127.0.0.1:8088:8088'
networks:
default:
# Keep the default gateway stable when joining runtime instance networks.
gw_priority: 100
environment: environment:
LISTEN_ADDR: 0.0.0.0:8088 LISTEN_ADDR: 0.0.0.0:8088
DATA_ROOT: /data DATA_ROOT: /data