-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdot.env
More file actions
37 lines (29 loc) · 935 Bytes
/
Copy pathdot.env
File metadata and controls
37 lines (29 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copy this file as name '.env'.
####################
# Runtime settings #
####################
## API to connect app server. ('rest' or 'grpc')
NETOVIZ_API=rest
## web client:
## define NETOVIZ_REST_PORT for separated web/app server (NOT all-in-one) case.
## if it does not exists, the application use NETOVIZ_WEB_PORT to connect REST API.
# NETOVIZ_REST_PORT=3000
NETOVIZ_GRPC_WEB_PORT=8080
## proxy server:
## set app-server(gRPC API) address/hostname
NETOVIZ_GRPC_HOST=localhost
NETOVIZ_GRPC_PORT=9090
NETOVIZ_PROXY_MGMT_PORT=9901
###################
# Fixed variables #
###################
## web server:
NETOVIZ_WEB_LISTEN=3000
## app server:
## define NETOVIZ_REST_LISTEN for separated web/app server.
## if it does not exists, the server use NETOVIZ_WEB_LISTEN to listen REST API.
NETOVIZ_GRPC_LISTEN=9090
# NETOVIZ_REST_LISTEN=3000
## proxy server:
NETOVIZ_GRPC_WEB_LISTEN=8080
NETOVIZ_PROXY_MGMT_LISTEN=9901