-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
25 lines (20 loc) · 722 Bytes
/
.env.example
File metadata and controls
25 lines (20 loc) · 722 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
MONGO_URI=mongodb://localhost/SmartHomeDB
# API Server
API_SCHEME=https
API_HOST=192.168.1.1
API_PORT=3000
API_EXTERNAL_PORT=3000 # Can be different than internal, if proxy is used
# Websocket server
WEBSOCKET_SCHEME=https
WEBSOCKET_HOST=192.168.1.1
WEBSOCKET_PORT=3001
WEBSOCKET_EXTERNAL_PORT=3001 # Can be different than internal, if proxy is used
# If https is being used, ssl key and certificate must be specified
# path to files. can be relative or absolute.
SSL_KEY_FILE=./server.key
SSL_CERT_FILE=./server.cert
# User authentication: if set to true, you must create and set a google client id
MULTI_USER=false
GOOGLE_CLIENT_ID=clientId
# Log level (can set to any which is supported by winston)
LOG_LEVEL=info