Merge pull request #177 from catcherwong/master

暴露grpc端口 (#176)
This commit is contained in:
paderlol 2021-04-15 09:42:39 +08:00 committed by GitHub
commit 0509bb1505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports: ports:
- "8848:8848" - "8848:8848"
- "9848:9848"
- "9555:9555" - "9555:9555"
env_file: env_file:
- ../env/nacos-embedded.env - ../env/nacos-embedded.env
@ -23,6 +24,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports: ports:
- "8849:8848" - "8849:8848"
- "9849:9848"
env_file: env_file:
- ../env/nacos-embedded.env - ../env/nacos-embedded.env
restart: always restart: always
@ -35,6 +37,7 @@ services:
- ./init.d/custom.properties:/home/nacos/init.d/custom.properties - ./init.d/custom.properties:/home/nacos/init.d/custom.properties
ports: ports:
- "8850:8848" - "8850:8848"
- "9850:9848"
env_file: env_file:
- ../env/nacos-embedded.env - ../env/nacos-embedded.env
restart: always restart: always

View File

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

View File

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

View File

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

View File

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

View File

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