-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env_template
50 lines (40 loc) · 1.08 KB
/
.env_template
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
38
39
40
41
42
43
44
45
46
47
48
49
50
# Mongo database url.
# Uses standard mongodb connection string format
# https://www.mongodb.com/docs/manual/reference/connection-string
DATABASE_URL=mongodb://127.0.0.1:27017/Test
# Tower port
# Port on which tower will be exposed
# default 3000
PORT=3000
# Tower host
# Host on which tower will be exposed
# default 0.0.0.0
HOST=0.0.0.0
# Log level array
# Available levels are log, error, warn, debug, verbose
# default ["log","error"]
LOG_LEVEL=["log","error"]
# Secret
# Secret key which is used to encrypt data
#SECRET=
# Time to live
# Number of seconds all access tokens are valid
# default: 86400
TTL=86400
# Audit time to live
# Indicates the number of days Tower will store audit data
# default: 1
AUDIT_TTL=1
# Token headers array
# Array of HTTP headers, where Tower will search for authorization tokens
# default: ["Authorization"]
TOKEN_HEADERS=["Authorization"]
# SSL key path
# path to the ssl key
#SSL_KEY_PATH=tower_key.pem
# SSL cert path
# path to the ssl certificate
#SSL_CERT_PATH=tower_cert.pem
# CORS
# Enables or disables Cross-origin resource sharing (CORS)
CORS=false