aboutsummaryrefslogtreecommitdiff
path: root/config.toml.sample
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2018-01-03 15:01:53 +0000
committerFelix Hanley <felix@userspace.com.au>2018-01-03 15:01:53 +0000
commitf1fcf73f15edefe25863f8dbf550a9fbfa8f03b6 (patch)
treed6a3b6b1c44f2740c8ff284e7b89871412d4b9a4 /config.toml.sample
parented86d0f35046dc5e360d554d3a80a66d70b1a27f (diff)
downloaddhtsearch-f1fcf73f15edefe25863f8dbf550a9fbfa8f03b6.tar.gz
dhtsearch-f1fcf73f15edefe25863f8dbf550a9fbfa8f03b6.tar.bz2
Update config WIP
Diffstat (limited to 'config.toml.sample')
-rw-r--r--config.toml.sample14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.toml.sample b/config.toml.sample
new file mode 100644
index 0000000..dedd166
--- /dev/null
+++ b/config.toml.sample
@@ -0,0 +1,14 @@
+# Move to config.toml in the same directory as the binary.
+# All command line arguments are accepted plus some more.
+
+base_port = 6881
+num_nodes = 1
+debug = false
+quiet = false
+dsn = "postgres://dht:dht@localhost/dht?sslmode=disable"
+no_http = false
+http_address = "localhost:6880"
+skip_tags = ["adult"]
+
+[tags]
+test = "\\.asdfasdfsdfsfdsfs"