From 106d8d8e57d79a1b7668d42b1340a0237db55547 Mon Sep 17 00:00:00 2001 From: huangzhenpc Date: Sun, 4 Jan 2026 11:28:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20sub2api=20=E5=8A=A0=E5=85=A5=201panel-ne?= =?UTF-8?q?twork=20=E7=BD=91=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 允许 sub2api 容器访问 1Panel Redis 容器 - 添加 1panel-network 为外部网络 - 保持通过容器名 1Panel-redis-S1KH 连接 Redis --- deploy/docker-compose.1panel.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/docker-compose.1panel.yml b/deploy/docker-compose.1panel.yml index 89a447f2..f61da619 100644 --- a/deploy/docker-compose.1panel.yml +++ b/deploy/docker-compose.1panel.yml @@ -67,6 +67,7 @@ services: - "host.docker.internal:host-gateway" networks: - sub2api-network + - 1panel-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] interval: 30s @@ -116,3 +117,5 @@ volumes: networks: sub2api-network: driver: bridge + 1panel-network: + external: true