-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yaml
15 lines (13 loc) · 860 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# general configuration
tokenLength: 6 # the length of the token corresponding to an url
reachTimeoutMs: 2000 # the timeout in ms when checking the reachability of an url
expirationTimeMonths: 3 # number of months before an short url is deleted
# The host and port of the server used for the short URLs returned
host: localhost # overridden with $HOST if set
port: 80 # overridden with $PORT if set
proto: http # overridden with $PROTO if set
#redis conf
redisHost: localhost # overridden with $REDIS_PORT_6379_TCP_ADDR if set
redisPort: 6379 # overridden with $REDIS_PORT_6379_TCP_PORT if set
redisDB: 0 # overridden with $REDIS_DB if set
redisPassword: # overridden with $REDIS_PASSWORD if set