Added config example

This commit is contained in:
famfo 2022-05-11 11:42:49 +02:00
parent 8b0d35987a
commit 8c82de3077

14
tmtd_example.toml Normal file
View file

@ -0,0 +1,14 @@
# The address and port the webserver will be listening on
listen_addr = "127.0.0.1:8080"
# Password for the admin tab in the web panel
admin_pass = "changeme"
# Address of the postgress database
connection_string = "postgres://tmtd@localhost/tmtd"
# Secret for the password hasher
# Must be atleast 4 bytes long, atleast 16 bytes (22 characters) are reccomended
secret = "changeme"
# OPTIONAL
# The tmtd log level, defaults to info when none is given
log_level = "trace"