提交 b9fa6a3c 编写于 作者: 何延龙 提交者: wu-sheng

fix gRPCHost (#2194)

* fix gRPCHost

* fix gRPCHost
上级 0593fdd9
......@@ -12,11 +12,11 @@ You could override the settings in `application.yml`
```yaml
core:
default:
restHost: 0.0.0.0
restPort: 12800
restContextPath: /
gRPCHost: 0.0.0.
gRPCPort: 11800
restHost: ${SW_CORE_REST_HOST:0.0.0.0}
restPort: ${SW_CORE_REST_PORT:12800}
restContextPath: ${SW_CORE_REST_CONTEXT_PATH:/}
gRPCHost: ${SW_CORE_GRPC_HOST:0.0.0.0}
gRPCPort: ${SW_CORE_GRPC_PORT:11800}
```
Use command arg
......@@ -33,10 +33,10 @@ Use command arg
core:
default:
restHost: ${REST_HOST:0.0.0.0}
restPort: 12800
restContextPath: /
gRPCHost: 0.0.0.
gRPCPort: 11800
restPort: ${SW_CORE_REST_PORT:12800}
restContextPath: ${SW_CORE_REST_CONTEXT_PATH:/}
gRPCHost: ${SW_CORE_GRPC_HOST:0.0.0.0}
gRPCPort: ${SW_CORE_GRPC_PORT:11800}
```
If the `REST_HOST ` environment variable exists in your operating system and its value is `172.0.4.12`,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册