-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yml
54 lines (51 loc) · 934 Bytes
/
config.example.yml
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
51
52
53
54
log:
level: info
# json-enabled: true
json-enabled: false
file:
enabled: true
path: ./logs/myapp.log
maxsize-mb: 10
maxage-days: 7
maxbackup-files: 2
batch:
enabled: false
max-lines: 1000
interval: 15ms
postgres-db:
primary:
username: <username>
password: "<password>"
host: mypostgres.host.com
port: 270017
schema: mypg_db
auth-db: admin
conn:
max-idle: 20
max-lifetime: 10m
timeout: 5m
max-open: 100
redis:
username: <username>
password: "<password>"
host: mredis.aws.com
port: 6379
schema: 0
conn:
max-idle: 20
max-lifetime: 10m
timeout: 5m
max-open: 100
mongodb:
primary:
username: <username>
password: "<password>"
host: mymongo.host.com
port: 270017
schema: mymongo_db
auth-db: admin
conn:
max-idle: 20
max-lifetime: 10m
timeout: 5m
max-open: 100