-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.yml
51 lines (47 loc) · 881 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
log:
format: text
level: info
server:
pprof:
enable: true
port: 6060
grpc:
port: 5000
log_payload: true
health_check: true
reflection: true
postgres:
migrate: true
debug: true
writer:
host: localhost
port: 5432
user: postgres
password: 123456aA@
database: base_project
ssl_mode: disable
max_idle_conns: 5
max_open_conns: 10
max_conn_idle_time: 5m
max_conn_lifetime: 15m
reader:
enable: true
host: localhost
port: 5432
user: postgres
password: 123456aA@
database: base_project
ssl_mode: disable
max_idle_conns: 5
max_open_conns: 10
max_conn_idle_time: 5m
max_conn_lifetime: 15m
redis:
address:
- localhost:6379
password: 123456aA@
db: 0
jwt:
secret: super-secret-b7b75f32-690f-42ab-b5df-c2ce63c0fede
token_expires: 5m
refresh_expires: 24h