From 97e23b2ad1dc535a97d52c9e38d2c63b483a5d6c Mon Sep 17 00:00:00 2001 From: Lzh <121212@qq.com> Date: Fri, 8 Aug 2025 17:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20docker-compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 08c97f85..4cdcb2af 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,10 @@ services: --max_allowed_packet=128M --default-authentication-plugin=caching_sha2_password ports: - - 13306:3306 + - 55616:3306 + # 添加数据卷挂载,将MySQL数据持久化到宿主机目录 + volumes: + - /vol1/1000/AIOL/mysql-jeecg:/var/lib/mysql networks: - jeecg-boot @@ -40,7 +43,7 @@ services: POSTGRES_PASSWORD: postgres POSTGRES_DB: vector_db ports: - - 5432:5432 + - 54321:5432 restart: always networks: - jeecg-boot @@ -69,8 +72,9 @@ services: networks: - jeecg-boot ports: - - 80:80 + - 55617:80 networks: jeecg-boot: name: jeecg_boot + \ No newline at end of file