potato/config.yaml.example

33 lines
603 B
Plaintext
Raw Normal View History

2021-03-23 00:55:26 +08:00
app:
2021-06-10 19:03:15 +08:00
jwt_secret: 'viletyy
jwt_issuer: 'potato'
jwt_expire: '7200'
2021-03-23 00:55:26 +08:00
run_mode: 'debug'
2021-06-10 19:03:15 +08:00
page_size: 10
2021-03-23 00:55:26 +08:00
server:
http_port: 8000
read_timeout: 60
write_timeout: 60
database:
type: 'postgresql'
user: 'root'
password: '123456'
host: '127.0.0.1'
port: 5432
name: 'potato'
table_prefix: 'p_'
redis:
host: '127.0.0.1'
port: '6379'
password: ''
db: 1
zap:
level: 'info'
format: 'console'
prefix: '[POTATO]'
director: 'log'
link-name: 'latest_log'
show-line: true
encode-level: 'LowercaseColorLevelEncoder'
stacktrace-key: 'stacktrace'
log-in-console: true