mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
🐳 docker-compose.yml 默认不暴露 3306 6369 端口
This commit is contained in:
parent
990dfd13ef
commit
1a7fb4d8c5
@ -10,14 +10,14 @@ services:
|
|||||||
container_name: pig-mysql
|
container_name: pig-mysql
|
||||||
image: pig-mysql
|
image: pig-mysql
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
# - 3306:3306
|
||||||
networks:
|
networks:
|
||||||
- spring_cloud_default
|
- spring_cloud_default
|
||||||
|
|
||||||
pig-redis:
|
pig-redis:
|
||||||
image: redis:7.2.4
|
image: redis:7.2.4
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
# - 6379:6379
|
||||||
restart: always
|
restart: always
|
||||||
container_name: pig-redis
|
container_name: pig-redis
|
||||||
hostname: pig-redis
|
hostname: pig-redis
|
||||||
|
Loading…
Reference in New Issue
Block a user