2022-09-07 23:34:37 +08:00
|
|
|
WebServer:
|
|
|
|
Address: 0.0.0.0
|
|
|
|
Port: 8000
|
2022-09-17 10:10:53 +08:00
|
|
|
JwtSigningKey: 'rq67SdQIRABhHq40'
|
|
|
|
JwtExpireHour: 12
|
2022-09-07 23:34:37 +08:00
|
|
|
|
|
|
|
Redis:
|
|
|
|
Db: 0
|
|
|
|
Address: '127.0.0.1:6379'
|
|
|
|
Password: ''
|
|
|
|
|
2022-09-08 22:00:25 +08:00
|
|
|
Database:
|
|
|
|
Host: '127.0.0.1'
|
|
|
|
Port: 5432
|
|
|
|
User: 'dev'
|
|
|
|
Password: 'password'
|
|
|
|
Database: 'dev'
|
|
|
|
Prefix: 'oj_'
|
|
|
|
MaxOpenConns: 100
|
|
|
|
MaxIdleConns: 60
|
|
|
|
ConnMaxLifetime: 60
|
|
|
|
|
2022-09-07 23:34:37 +08:00
|
|
|
Metrics:
|
|
|
|
Namespace: 'OJ'
|
|
|
|
Subsystem: 'server'
|
|
|
|
|
|
|
|
Development: true
|