更新 docker-compose.yml

This commit is contained in:
Lzh 2025-08-08 17:52:00 +08:00
parent 83b06b7648
commit 97e23b2ad1

View File

@ -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