snow/default.config.ini

25 lines
461 B
INI
Raw Normal View History

2023-10-31 22:40:14 +00:00
[database]
; connect string
uri="host=localhost user=postgres password=pass dbname=snow port=5432 sslmode=disable"
; postgres
2023-11-01 21:51:14 +00:00
type="postgres"
2023-11-02 17:50:52 +00:00
; drop all tables at start of program
drop=false
2023-11-01 21:51:14 +00:00
[output]
; level of logging
2023-11-02 17:50:52 +00:00
; info = everything
; time = only time taken
; prod = only errors
level="info"
[api]
; port to listen on
port=80
; host to listen on
; only change if you know what you're doing
host="0.0.0.0"
[jwt]
; secret for jwt signing
secret="secret"