防止端口冲突

This commit is contained in:
JEECG 2026-07-09 14:44:29 +08:00
parent a7c584e3fb
commit e5b740a332

View File

@ -17,14 +17,14 @@ services:
--max_allowed_packet=128M --max_allowed_packet=128M
--default-authentication-plugin=caching_sha2_password --default-authentication-plugin=caching_sha2_password
ports: ports:
- 3306:3306 - 13306:3306
networks: networks:
- jeecg-boot - jeecg-boot
jeecg-boot-redis: jeecg-boot-redis:
image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/redis:5.0 image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/redis:5.0
ports: # ports:
- 6379:6379 # - 6379:6379
restart: always restart: always
container_name: jeecg-boot-redis container_name: jeecg-boot-redis
hostname: jeecg-boot-redis hostname: jeecg-boot-redis