🐳 docker-compose.yml 默认不暴露 3306 6369 端口

This commit is contained in:
冷冷 2024-05-20 22:31:08 +08:00
parent 990dfd13ef
commit 1a7fb4d8c5

View File

@ -10,14 +10,14 @@ services:
container_name: pig-mysql
image: pig-mysql
ports:
- 3306:3306
# - 3306:3306
networks:
- spring_cloud_default
pig-redis:
image: redis:7.2.4
ports:
- 6379:6379
# - 6379:6379
restart: always
container_name: pig-redis
hostname: pig-redis