diff --git a/deploy/dev/docker-compose.cn.yml b/deploy/dev/docker-compose.cn.yml index 9b9fc1ea07..624e372431 100644 --- a/deploy/dev/docker-compose.cn.yml +++ b/deploy/dev/docker-compose.cn.yml @@ -58,7 +58,7 @@ services: - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s @@ -79,7 +79,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: [ @@ -145,9 +145,9 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: - image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z + image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z # cpu 不支持 AVX 时候使用 RELEASE.2025-09-07T16-13-09Z-cpuv1 container_name: fastgpt-minio restart: always networks: @@ -159,7 +159,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -341,7 +341,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -358,6 +358,13 @@ networks: fastgpt: aiproxy: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | diff --git a/deploy/dev/docker-compose.yml b/deploy/dev/docker-compose.yml index 758c40c27a..fd178be80f 100644 --- a/deploy/dev/docker-compose.yml +++ b/deploy/dev/docker-compose.yml @@ -58,7 +58,7 @@ services: - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s @@ -79,7 +79,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: [ @@ -145,9 +145,9 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: - image: minio/minio:RELEASE.2025-09-07T16-13-09Z + image: minio/minio:RELEASE.2025-09-07T16-13-09Z # cpu 不支持 AVX 时候使用 RELEASE.2025-09-07T16-13-09Z-cpuv1 container_name: fastgpt-minio restart: always networks: @@ -159,7 +159,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -341,7 +341,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -358,6 +358,13 @@ networks: fastgpt: aiproxy: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | diff --git a/deploy/docker/cn/docker-compose.milvus.yml b/deploy/docker/cn/docker-compose.milvus.yml index f2bf0b1387..4334b5a1fb 100644 --- a/deploy/docker/cn/docker-compose.milvus.yml +++ b/deploy/docker/cn/docker-compose.milvus.yml @@ -56,7 +56,7 @@ services: networks: - vector volumes: - - ./milvus-minio:/minio_data + - fastgpt-milvus-minio:/minio_data command: minio server /minio_data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -75,7 +75,7 @@ services: networks: - vector volumes: - - ./milvus/etcd:/etcd + - fastgpt-milvus-etcd:/etcd command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd healthcheck: test: ['CMD', 'etcdctl', 'endpoint', 'health'] @@ -95,7 +95,7 @@ services: - fastgpt - vector volumes: - - ./milvus/data:/var/lib/milvus + - fastgpt-milvus-data:/var/lib/milvus healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9091/healthz'] interval: 30s @@ -105,6 +105,7 @@ services: depends_on: - 'milvus-etcd' - 'milvus-minio' + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -116,7 +117,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -168,7 +169,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -182,7 +183,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -445,7 +446,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -463,6 +464,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -483,4 +498,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/docker/cn/docker-compose.oceanbase.yml b/deploy/docker/cn/docker-compose.oceanbase.yml index 388be925cb..a59f23cbf9 100644 --- a/deploy/docker/cn/docker-compose.oceanbase.yml +++ b/deploy/docker/cn/docker-compose.oceanbase.yml @@ -66,8 +66,8 @@ services: - OB_SERVER_IP=127.0.0.1 # 更多环境变量配置见oceanbase官方文档: https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002013494 volumes: - - ./ob/data:/root/ob - - ./ob/config:/root/.obd/cluster + - fastgpt-ob-data:/root/ob + - fastgpt-ob-config:/root/.obd/cluster configs: - source: init_sql target: /root/boot/init.d/init.sql @@ -82,6 +82,7 @@ services: timeout: 10s retries: 1000 start_period: 10s + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -93,7 +94,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -145,7 +146,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -159,7 +160,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -422,7 +423,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -440,6 +441,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -464,4 +479,4 @@ configs: name: init_sql content: | ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30; - \ No newline at end of file + diff --git a/deploy/docker/cn/docker-compose.pg.yml b/deploy/docker/cn/docker-compose.pg.yml index 858586cdbe..9708d4979c 100644 --- a/deploy/docker/cn/docker-compose.pg.yml +++ b/deploy/docker/cn/docker-compose.pg.yml @@ -57,12 +57,13 @@ services: - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s timeout: 5s retries: 10 + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -74,7 +75,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -126,7 +127,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -140,7 +141,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -403,7 +404,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -421,6 +422,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -441,4 +456,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/docker/cn/docker-compose.seekdb.yml b/deploy/docker/cn/docker-compose.seekdb.yml index 4e009b7382..e157d82455 100644 --- a/deploy/docker/cn/docker-compose.seekdb.yml +++ b/deploy/docker/cn/docker-compose.seekdb.yml @@ -61,14 +61,15 @@ services: # MODE分为MINI和NORMAL, 后者会最大程度使用主机资源 - MODE=MINI volumes: - - ./seekdb/data:/var/lib/mysql - - ./seekdb/config:/etc/mysql/conf.d + - fastgpt-seekdb-data:/var/lib/mysql + - fastgpt-seekdb-config:/etc/mysql/conf.d healthcheck: test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1', '-P2881', '-uroot', '-pseekdbpassword'] interval: 30s timeout: 10s retries: 1000 start_period: 10s + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -80,7 +81,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -132,7 +133,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -146,7 +147,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -409,7 +410,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -427,6 +428,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -447,4 +462,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/docker/cn/docker-compose.zilliz.yml b/deploy/docker/cn/docker-compose.zilliz.yml index 0acb8a3307..b63812dee7 100644 --- a/deploy/docker/cn/docker-compose.zilliz.yml +++ b/deploy/docker/cn/docker-compose.zilliz.yml @@ -58,7 +58,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -110,7 +110,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -124,7 +124,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -387,7 +387,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -405,6 +405,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -425,4 +439,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/docker/global/docker-compose.milvus.yml b/deploy/docker/global/docker-compose.milvus.yml index 517a0a1596..cfd9eb343c 100644 --- a/deploy/docker/global/docker-compose.milvus.yml +++ b/deploy/docker/global/docker-compose.milvus.yml @@ -56,7 +56,7 @@ services: networks: - vector volumes: - - ./milvus-minio:/minio_data + - fastgpt-milvus-minio:/minio_data command: minio server /minio_data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -75,7 +75,7 @@ services: networks: - vector volumes: - - ./milvus/etcd:/etcd + - fastgpt-milvus-etcd:/etcd command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd healthcheck: test: ['CMD', 'etcdctl', 'endpoint', 'health'] @@ -95,7 +95,7 @@ services: - fastgpt - vector volumes: - - ./milvus/data:/var/lib/milvus + - fastgpt-milvus-data:/var/lib/milvus healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9091/healthz'] interval: 30s @@ -105,6 +105,7 @@ services: depends_on: - 'milvus-etcd' - 'milvus-minio' + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -116,7 +117,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -168,7 +169,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -182,7 +183,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -445,7 +446,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -463,6 +464,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -483,4 +498,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/docker/global/docker-compose.oceanbase.yml b/deploy/docker/global/docker-compose.oceanbase.yml index 39a9cf9995..a349dca49c 100644 --- a/deploy/docker/global/docker-compose.oceanbase.yml +++ b/deploy/docker/global/docker-compose.oceanbase.yml @@ -66,8 +66,8 @@ services: - OB_SERVER_IP=127.0.0.1 # 更多环境变量配置见oceanbase官方文档: https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002013494 volumes: - - ./ob/data:/root/ob - - ./ob/config:/root/.obd/cluster + - fastgpt-ob-data:/root/ob + - fastgpt-ob-config:/root/.obd/cluster configs: - source: init_sql target: /root/boot/init.d/init.sql @@ -82,6 +82,7 @@ services: timeout: 10s retries: 1000 start_period: 10s + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -93,7 +94,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -145,7 +146,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -159,7 +160,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -422,7 +423,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -440,6 +441,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -464,4 +479,4 @@ configs: name: init_sql content: | ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30; - \ No newline at end of file + diff --git a/deploy/docker/global/docker-compose.pg.yml b/deploy/docker/global/docker-compose.pg.yml index 6d05d7a9ab..d7995398c4 100644 --- a/deploy/docker/global/docker-compose.pg.yml +++ b/deploy/docker/global/docker-compose.pg.yml @@ -57,12 +57,13 @@ services: - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s timeout: 5s retries: 10 + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -74,7 +75,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -126,7 +127,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -140,7 +141,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -403,7 +404,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -421,6 +422,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -441,4 +456,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/docker/global/docker-compose.seekdb.yml b/deploy/docker/global/docker-compose.seekdb.yml index 8c26bfadb9..9b02043224 100644 --- a/deploy/docker/global/docker-compose.seekdb.yml +++ b/deploy/docker/global/docker-compose.seekdb.yml @@ -61,14 +61,15 @@ services: # MODE分为MINI和NORMAL, 后者会最大程度使用主机资源 - MODE=MINI volumes: - - ./seekdb/data:/var/lib/mysql - - ./seekdb/config:/etc/mysql/conf.d + - fastgpt-seekdb-data:/var/lib/mysql + - fastgpt-seekdb-config:/etc/mysql/conf.d healthcheck: test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1', '-P2881', '-uroot', '-pseekdbpassword'] interval: 30s timeout: 10s retries: 1000 start_period: 10s + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -80,7 +81,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -132,7 +133,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -146,7 +147,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -409,7 +410,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -427,6 +428,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -447,4 +462,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/docker/global/docker-compose.ziliiz.yml b/deploy/docker/global/docker-compose.ziliiz.yml index f689bb922f..89bcc2b044 100644 --- a/deploy/docker/global/docker-compose.ziliiz.yml +++ b/deploy/docker/global/docker-compose.ziliiz.yml @@ -58,7 +58,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -110,7 +110,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -124,7 +124,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -387,7 +387,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -405,6 +405,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -425,4 +439,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/deploy/templates/docker-compose.dev.yml b/deploy/templates/docker-compose.dev.yml index 7b3be959c7..8962d3b157 100644 --- a/deploy/templates/docker-compose.dev.yml +++ b/deploy/templates/docker-compose.dev.yml @@ -58,7 +58,7 @@ services: - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s @@ -79,7 +79,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: [ @@ -145,9 +145,9 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: - image: ${{minio.image}}:${{minio.tag}} + image: ${{minio.image}}:${{minio.tag}} # cpu 不支持 AVX 时候使用 ${{minio.tag}}-cpuv1 container_name: fastgpt-minio restart: always networks: @@ -159,7 +159,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -341,7 +341,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -358,6 +358,13 @@ networks: fastgpt: aiproxy: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | diff --git a/deploy/templates/docker-compose.prod.yml b/deploy/templates/docker-compose.prod.yml index 7ed0f5624f..849009e6b6 100644 --- a/deploy/templates/docker-compose.prod.yml +++ b/deploy/templates/docker-compose.prod.yml @@ -57,7 +57,7 @@ ${{vec.db}} - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -109,7 +109,7 @@ ${{vec.db}} retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: ${{minio.image}}:${{minio.tag}} container_name: fastgpt-minio @@ -123,7 +123,7 @@ ${{vec.db}} - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -386,7 +386,7 @@ ${{vec.db}} restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -404,6 +404,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -424,4 +438,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - ${{vec.extra}} \ No newline at end of file + ${{vec.extra}} diff --git a/deploy/templates/vector/milvus.txt b/deploy/templates/vector/milvus.txt index 81de0de4ac..7f60f54fdf 100644 --- a/deploy/templates/vector/milvus.txt +++ b/deploy/templates/vector/milvus.txt @@ -7,7 +7,7 @@ networks: - vector volumes: - - ./milvus-minio:/minio_data + - fastgpt-milvus-minio:/minio_data command: minio server /minio_data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -26,7 +26,7 @@ networks: - vector volumes: - - ./milvus/etcd:/etcd + - fastgpt-milvus-etcd:/etcd command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd healthcheck: test: ['CMD', 'etcdctl', 'endpoint', 'health'] @@ -46,7 +46,7 @@ - fastgpt - vector volumes: - - ./milvus/data:/var/lib/milvus + - fastgpt-milvus-data:/var/lib/milvus healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9091/healthz'] interval: 30s @@ -55,4 +55,4 @@ retries: 3 depends_on: - 'milvus-etcd' - - 'milvus-minio' \ No newline at end of file + - 'milvus-minio' diff --git a/deploy/templates/vector/ob.txt b/deploy/templates/vector/ob.txt index f622ce5944..0a9cc06b16 100644 --- a/deploy/templates/vector/ob.txt +++ b/deploy/templates/vector/ob.txt @@ -18,8 +18,8 @@ - OB_SERVER_IP=127.0.0.1 # 更多环境变量配置见oceanbase官方文档: https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002013494 volumes: - - ./ob/data:/root/ob - - ./ob/config:/root/.obd/cluster + - fastgpt-ob-data:/root/ob + - fastgpt-ob-config:/root/.obd/cluster configs: - source: init_sql target: /root/boot/init.d/init.sql @@ -33,4 +33,4 @@ interval: 30s timeout: 10s retries: 1000 - start_period: 10s \ No newline at end of file + start_period: 10s diff --git a/deploy/templates/vector/pg.txt b/deploy/templates/vector/pg.txt index 16737bb4a2..4714f0057e 100644 --- a/deploy/templates/vector/pg.txt +++ b/deploy/templates/vector/pg.txt @@ -10,9 +10,9 @@ - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s timeout: 5s - retries: 10 \ No newline at end of file + retries: 10 diff --git a/deploy/templates/vector/seekdb.txt b/deploy/templates/vector/seekdb.txt index 3334ae8375..ce8fe03c9c 100644 --- a/deploy/templates/vector/seekdb.txt +++ b/deploy/templates/vector/seekdb.txt @@ -13,11 +13,11 @@ # MODE分为MINI和NORMAL, 后者会最大程度使用主机资源 - MODE=MINI volumes: - - ./seekdb/data:/var/lib/mysql - - ./seekdb/config:/etc/mysql/conf.d + - fastgpt-seekdb-data:/var/lib/mysql + - fastgpt-seekdb-config:/etc/mysql/conf.d healthcheck: test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1', '-P2881', '-uroot', '-pseekdbpassword'] interval: 30s timeout: 10s retries: 1000 - start_period: 10s \ No newline at end of file + start_period: 10s diff --git a/document/public/deploy/docker/cn/docker-compose.milvus.yml b/document/public/deploy/docker/cn/docker-compose.milvus.yml index f2bf0b1387..4334b5a1fb 100644 --- a/document/public/deploy/docker/cn/docker-compose.milvus.yml +++ b/document/public/deploy/docker/cn/docker-compose.milvus.yml @@ -56,7 +56,7 @@ services: networks: - vector volumes: - - ./milvus-minio:/minio_data + - fastgpt-milvus-minio:/minio_data command: minio server /minio_data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -75,7 +75,7 @@ services: networks: - vector volumes: - - ./milvus/etcd:/etcd + - fastgpt-milvus-etcd:/etcd command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd healthcheck: test: ['CMD', 'etcdctl', 'endpoint', 'health'] @@ -95,7 +95,7 @@ services: - fastgpt - vector volumes: - - ./milvus/data:/var/lib/milvus + - fastgpt-milvus-data:/var/lib/milvus healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9091/healthz'] interval: 30s @@ -105,6 +105,7 @@ services: depends_on: - 'milvus-etcd' - 'milvus-minio' + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -116,7 +117,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -168,7 +169,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -182,7 +183,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -445,7 +446,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -463,6 +464,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -483,4 +498,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/document/public/deploy/docker/cn/docker-compose.oceanbase.yml b/document/public/deploy/docker/cn/docker-compose.oceanbase.yml index 388be925cb..a59f23cbf9 100644 --- a/document/public/deploy/docker/cn/docker-compose.oceanbase.yml +++ b/document/public/deploy/docker/cn/docker-compose.oceanbase.yml @@ -66,8 +66,8 @@ services: - OB_SERVER_IP=127.0.0.1 # 更多环境变量配置见oceanbase官方文档: https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002013494 volumes: - - ./ob/data:/root/ob - - ./ob/config:/root/.obd/cluster + - fastgpt-ob-data:/root/ob + - fastgpt-ob-config:/root/.obd/cluster configs: - source: init_sql target: /root/boot/init.d/init.sql @@ -82,6 +82,7 @@ services: timeout: 10s retries: 1000 start_period: 10s + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -93,7 +94,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -145,7 +146,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -159,7 +160,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -422,7 +423,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -440,6 +441,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -464,4 +479,4 @@ configs: name: init_sql content: | ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30; - \ No newline at end of file + diff --git a/document/public/deploy/docker/cn/docker-compose.pg.yml b/document/public/deploy/docker/cn/docker-compose.pg.yml index 858586cdbe..9708d4979c 100644 --- a/document/public/deploy/docker/cn/docker-compose.pg.yml +++ b/document/public/deploy/docker/cn/docker-compose.pg.yml @@ -57,12 +57,13 @@ services: - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s timeout: 5s retries: 10 + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -74,7 +75,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -126,7 +127,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -140,7 +141,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -403,7 +404,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -421,6 +422,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -441,4 +456,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/document/public/deploy/docker/cn/docker-compose.seekdb.yml b/document/public/deploy/docker/cn/docker-compose.seekdb.yml index 4e009b7382..e157d82455 100644 --- a/document/public/deploy/docker/cn/docker-compose.seekdb.yml +++ b/document/public/deploy/docker/cn/docker-compose.seekdb.yml @@ -61,14 +61,15 @@ services: # MODE分为MINI和NORMAL, 后者会最大程度使用主机资源 - MODE=MINI volumes: - - ./seekdb/data:/var/lib/mysql - - ./seekdb/config:/etc/mysql/conf.d + - fastgpt-seekdb-data:/var/lib/mysql + - fastgpt-seekdb-config:/etc/mysql/conf.d healthcheck: test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1', '-P2881', '-uroot', '-pseekdbpassword'] interval: 30s timeout: 10s retries: 1000 start_period: 10s + mongo: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -80,7 +81,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -132,7 +133,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -146,7 +147,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -409,7 +410,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -427,6 +428,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -447,4 +462,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/document/public/deploy/docker/cn/docker-compose.zilliz.yml b/document/public/deploy/docker/cn/docker-compose.zilliz.yml index 0acb8a3307..b63812dee7 100644 --- a/document/public/deploy/docker/cn/docker-compose.zilliz.yml +++ b/document/public/deploy/docker/cn/docker-compose.zilliz.yml @@ -58,7 +58,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -110,7 +110,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: registry.cn-hangzhou.aliyuncs.com/fastgpt/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -124,7 +124,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -387,7 +387,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -405,6 +405,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -425,4 +439,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/document/public/deploy/docker/global/docker-compose.milvus.yml b/document/public/deploy/docker/global/docker-compose.milvus.yml index 517a0a1596..cfd9eb343c 100644 --- a/document/public/deploy/docker/global/docker-compose.milvus.yml +++ b/document/public/deploy/docker/global/docker-compose.milvus.yml @@ -56,7 +56,7 @@ services: networks: - vector volumes: - - ./milvus-minio:/minio_data + - fastgpt-milvus-minio:/minio_data command: minio server /minio_data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -75,7 +75,7 @@ services: networks: - vector volumes: - - ./milvus/etcd:/etcd + - fastgpt-milvus-etcd:/etcd command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd healthcheck: test: ['CMD', 'etcdctl', 'endpoint', 'health'] @@ -95,7 +95,7 @@ services: - fastgpt - vector volumes: - - ./milvus/data:/var/lib/milvus + - fastgpt-milvus-data:/var/lib/milvus healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9091/healthz'] interval: 30s @@ -105,6 +105,7 @@ services: depends_on: - 'milvus-etcd' - 'milvus-minio' + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -116,7 +117,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -168,7 +169,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -182,7 +183,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -445,7 +446,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -463,6 +464,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -483,4 +498,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/document/public/deploy/docker/global/docker-compose.oceanbase.yml b/document/public/deploy/docker/global/docker-compose.oceanbase.yml index 39a9cf9995..a349dca49c 100644 --- a/document/public/deploy/docker/global/docker-compose.oceanbase.yml +++ b/document/public/deploy/docker/global/docker-compose.oceanbase.yml @@ -66,8 +66,8 @@ services: - OB_SERVER_IP=127.0.0.1 # 更多环境变量配置见oceanbase官方文档: https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002013494 volumes: - - ./ob/data:/root/ob - - ./ob/config:/root/.obd/cluster + - fastgpt-ob-data:/root/ob + - fastgpt-ob-config:/root/.obd/cluster configs: - source: init_sql target: /root/boot/init.d/init.sql @@ -82,6 +82,7 @@ services: timeout: 10s retries: 1000 start_period: 10s + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -93,7 +94,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -145,7 +146,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -159,7 +160,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -422,7 +423,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -440,6 +441,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -464,4 +479,4 @@ configs: name: init_sql content: | ALTER SYSTEM SET ob_vector_memory_limit_percentage = 30; - \ No newline at end of file + diff --git a/document/public/deploy/docker/global/docker-compose.pg.yml b/document/public/deploy/docker/global/docker-compose.pg.yml index 6d05d7a9ab..d7995398c4 100644 --- a/document/public/deploy/docker/global/docker-compose.pg.yml +++ b/document/public/deploy/docker/global/docker-compose.pg.yml @@ -57,12 +57,13 @@ services: - POSTGRES_PASSWORD=password - POSTGRES_DB=postgres volumes: - - ./pg/data:/var/lib/postgresql/data + - fastgpt-pg:/var/lib/postgresql/data healthcheck: test: ['CMD', 'pg_isready', '-U', 'username', '-d', 'postgres'] interval: 5s timeout: 5s retries: 10 + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -74,7 +75,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -126,7 +127,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -140,7 +141,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -403,7 +404,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -421,6 +422,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -441,4 +456,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/document/public/deploy/docker/global/docker-compose.seekdb.yml b/document/public/deploy/docker/global/docker-compose.seekdb.yml index 8c26bfadb9..9b02043224 100644 --- a/document/public/deploy/docker/global/docker-compose.seekdb.yml +++ b/document/public/deploy/docker/global/docker-compose.seekdb.yml @@ -61,14 +61,15 @@ services: # MODE分为MINI和NORMAL, 后者会最大程度使用主机资源 - MODE=MINI volumes: - - ./seekdb/data:/var/lib/mysql - - ./seekdb/config:/etc/mysql/conf.d + - fastgpt-seekdb-data:/var/lib/mysql + - fastgpt-seekdb-config:/etc/mysql/conf.d healthcheck: test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1', '-P2881', '-uroot', '-pseekdbpassword'] interval: 30s timeout: 10s retries: 1000 start_period: 10s + mongo: image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 container_name: mongo @@ -80,7 +81,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -132,7 +133,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -146,7 +147,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -409,7 +410,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -427,6 +428,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -447,4 +462,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file + diff --git a/document/public/deploy/docker/global/docker-compose.ziliiz.yml b/document/public/deploy/docker/global/docker-compose.ziliiz.yml index f689bb922f..89bcc2b044 100644 --- a/document/public/deploy/docker/global/docker-compose.ziliiz.yml +++ b/document/public/deploy/docker/global/docker-compose.ziliiz.yml @@ -58,7 +58,7 @@ services: - MONGO_INITDB_ROOT_USERNAME=myusername - MONGO_INITDB_ROOT_PASSWORD=mypassword volumes: - - ./mongo/data:/data/db + - fastgpt-mongo:/data/db healthcheck: test: ['CMD', 'mongo', '-u', 'myusername', '-p', 'mypassword', '--authenticationDatabase', 'admin', '--eval', "db.adminCommand('ping')"] interval: 10s @@ -110,7 +110,7 @@ services: retries: 3 start_period: 30s volumes: - - ./redis/data:/data + - fastgpt-redis:/data fastgpt-minio: image: minio/minio:RELEASE.2025-09-07T16-13-09Z container_name: fastgpt-minio @@ -124,7 +124,7 @@ services: - MINIO_ROOT_USER=minioadmin - MINIO_ROOT_PASSWORD=minioadmin volumes: - - ./fastgpt-minio:/data + - fastgpt-minio:/data command: server /data --console-address ":9001" healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] @@ -387,7 +387,7 @@ services: restart: unless-stopped container_name: aiproxy_pg volumes: - - ./aiproxy_pg:/var/lib/postgresql/data + - fastgpt-aiproxy_pg:/var/lib/postgresql/data networks: - aiproxy environment: @@ -405,6 +405,20 @@ networks: aiproxy: vector: +volumes: + fastgpt-pg: + fastgpt-mongo: + fastgpt-redis: + fastgpt-minio: + fastgpt-milvus-minio: + fastgpt-milvus-etcd: + fastgpt-milvus-data: + fastgpt-ob-data: + fastgpt-ob-config: + fastgpt-seekdb-data: + fastgpt-seekdb-config: + fastgpt-aiproxy_pg: + configs: opensandbox-config: content: | @@ -425,4 +439,4 @@ configs: # 容器内访问宿主机服务时需要设置为宿主机 IP 或 hostname # macOS/Windows: host.docker.internal;Linux: 宿主机 LAN IP(如 192.168.1.100) host_ip = "host.docker.internal" - \ No newline at end of file +