From 8c82de30772e97ec8ed71f0239c55645edb16830 Mon Sep 17 00:00:00 2001 From: famfo Date: Wed, 11 May 2022 11:42:49 +0200 Subject: [PATCH] Added config example --- tmtd_example.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tmtd_example.toml diff --git a/tmtd_example.toml b/tmtd_example.toml new file mode 100644 index 0000000..ce0672f --- /dev/null +++ b/tmtd_example.toml @@ -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" +