potato/config.yaml.example

30 lines
549 B
Plaintext
Raw Normal View History

2021-03-23 00:55:26 +08:00
app:
jwt_secret: '23347$040412'
run_mode: 'debug'
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