fix: change db configs in the config file
This commit is contained in:
parent
8edea3f0b8
commit
426471d3b1
@ -1,24 +1,18 @@
|
|||||||
dev-mode: true
|
dev-mode: true
|
||||||
|
|
||||||
web:
|
web:
|
||||||
addr: :8080
|
addr: :8000
|
||||||
shutdown-timeout: 10
|
shutdown-timeout: 10
|
||||||
|
|
||||||
db:
|
db:
|
||||||
# DB host
|
# DB host
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
# DB username
|
# DB username
|
||||||
username: howmuch
|
username: postgres
|
||||||
# DB password
|
# DB password
|
||||||
password: howmuch
|
password: example
|
||||||
# DB name
|
# DB name
|
||||||
database: howmuch
|
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:
|
log:
|
||||||
level: debug
|
level: debug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user