fix: change db configs in the config file

This commit is contained in:
Muyao CHEN 2024-10-05 23:22:49 +02:00
parent 8edea3f0b8
commit 426471d3b1

View File

@ -1,24 +1,18 @@
dev-mode: true
web:
addr: :8080
addr: :8000
shutdown-timeout: 10
db:
# DB host
host: 127.0.0.1
# DB username
username: howmuch
username: postgres
# DB password
password: howmuch
password: example
# DB name
database: howmuch
# max idle connections
max-idle-connections: 100
# max open connections
max-open-connections: 100
# max connection life time
max-connection-life-time: 10s
log:
level: debug