更新 docker-compose.yml
This commit is contained in:
parent
83b06b7648
commit
97e23b2ad1
@ -18,7 +18,10 @@ services:
|
|||||||
--max_allowed_packet=128M
|
--max_allowed_packet=128M
|
||||||
--default-authentication-plugin=caching_sha2_password
|
--default-authentication-plugin=caching_sha2_password
|
||||||
ports:
|
ports:
|
||||||
- 13306:3306
|
- 55616:3306
|
||||||
|
# 添加数据卷挂载,将MySQL数据持久化到宿主机目录
|
||||||
|
volumes:
|
||||||
|
- /vol1/1000/AIOL/mysql-jeecg:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
- jeecg-boot
|
- jeecg-boot
|
||||||
|
|
||||||
@ -40,7 +43,7 @@ services:
|
|||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_DB: vector_db
|
POSTGRES_DB: vector_db
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 54321:5432
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- jeecg-boot
|
- jeecg-boot
|
||||||
@ -69,8 +72,9 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- jeecg-boot
|
- jeecg-boot
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 55617:80
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
jeecg-boot:
|
jeecg-boot:
|
||||||
name: jeecg_boot
|
name: jeecg_boot
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user