🐛 Fixing a bug. 关闭docker-compose 中的mysql 和redis 的端口,防止和其他项目冲突

This commit is contained in:
aeizzz 2022-12-27 09:59:52 +08:00
parent 0be21c621c
commit 7d70766b17

View File

@ -9,13 +9,9 @@ services:
restart: always restart: always
container_name: pig-mysql container_name: pig-mysql
image: pig-mysql image: pig-mysql
ports:
- 3306:3306
pig-redis: pig-redis:
image: redis:7.0.0 image: redis:7.0.0
ports:
- 6379:6379
restart: always restart: always
container_name: pig-redis container_name: pig-redis
hostname: pig-redis hostname: pig-redis