-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.sample.env
More file actions
22 lines (20 loc) · 674 Bytes
/
.sample.env
File metadata and controls
22 lines (20 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# run `cp .sample.env .env` to create your local env
# production server config
HOST=127.0.0.1
PORT=5577
# SERVER=http://xxx.com
# CDN=http://xxx.com
SERVER_SECRET=x4345655@!3446%5FS334*sfdgsf # change it in production env
# ENABLE_AUTH=1
SERVER_USER=default_user
SERVER_PASS=1
TOKEN_EXPIRED_TIME=120y
# DB_PATH=/some/custom-path-to-db-folder
#
# to use same data as desktop electerm
# for Mac OS DB_PATH="/Users/<your-user-name>/Library/Application Support/electerm"
# for Linux OS DB_PATH="/home/<your-user-name>/.config/electerm"
# for Windows OS DB_PATH="C:\\Users\\<your-user-name>\\AppData\\Roaming\\electerm"
# dev server host port
DEV_HOST=127.0.0.1
DEV_PORT=5580