暴露grpc端口 (#176)

This commit is contained in:
catcherwong 2021-04-13 08:31:12 +08:00
parent ba93000f70
commit 17d15327ae
6 changed files with 12 additions and 0 deletions

View File

@ -9,6 +9,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8848:8848"
- "9848:9848"
- "9555:9555"
env_file:
- ../env/nacos-embedded.env
@ -23,6 +24,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8849:8848"
- "9849:9848"
env_file:
- ../env/nacos-embedded.env
restart: always
@ -35,6 +37,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8850:8848"
- "9850:9848"
env_file:
- ../env/nacos-embedded.env
restart: always

View File

@ -9,6 +9,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8848:8848"
- "9848:9848"
- "9555:9555"
env_file:
- ../env/nacos-hostname.env
@ -25,6 +26,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8849:8848"
- "9849:9848"
env_file:
- ../env/nacos-hostname.env
restart: always
@ -39,6 +41,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8850:8848"
- "9850:9848"
env_file:
- ../env/nacos-hostname.env
restart: always

View File

@ -10,6 +10,7 @@ services:
- ./cluster-logs/nacos1:/home/nacos/logs
ports:
- "8848:8848"
- "9848:9848"
- "9555:9555"
env_file:
- ../env/nacos-ip.env
@ -27,6 +28,7 @@ services:
- ./cluster-logs/nacos2:/home/nacos/logs
ports:
- "8849:8848"
- "9849:9848"
env_file:
- ../env/nacos-ip.env
restart: always
@ -42,6 +44,7 @@ services:
- ./cluster-logs/nacos2:/home/nacos/logs
ports:
- "8850:8848"
- "9850:9848"
env_file:
- ../env/nacos-ip.env
restart: always

View File

@ -11,6 +11,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8848:8848"
- "9848:9848"
prometheus:
container_name: prometheus
image: prom/prometheus:latest

View File

@ -10,6 +10,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8848:8848"
- "9848:9848"
- "9555:9555"
depends_on:
- mysql

View File

@ -10,6 +10,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports:
- "8848:8848"
- "9848:9848"
- "9555:9555"
depends_on:
- mysql