aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-01-21 23:04:25 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-01-21 23:04:25 -0600
commit25169560d44344e970f14fec24c4f68413e64187 (patch)
tree48b147d5011a2d8843b42df4ee58046dd889981a /src
parent8d7a5d770f8a88784d89c7f2178313e7ba6022a6 (diff)
downloadslskd-25169560d44344e970f14fec24c4f68413e64187.tar.gz
flesh out config
Diffstat (limited to 'src')
-rw-r--r--src/slskd/config.yml46
1 files changed, 40 insertions, 6 deletions
diff --git a/src/slskd/config.yml b/src/slskd/config.yml
index 2a6642f6..a7840141 100644
--- a/src/slskd/config.yml
+++ b/src/slskd/config.yml
@@ -1,7 +1,41 @@
slskd:
- debug: false
- noLogo: false
- noAuth: false
- instanceName: FromYAML
- prometheus: true
- loki1: http://192.168.1.60:3101 \ No newline at end of file
+ options:
+ debug: false
+ no_logo: false
+ no_auth: false
+ instance_name: FromYAML
+ prometheus: true
+ swagger: true
+ logger:
+ loki: http://192.168.1.60:3101
+ web:
+ url_base: /
+ content_path: wwwroot
+ jwt:
+ ttl: 604800000
+ key: ~
+soulseek:
+ username: ~
+ password: ~
+ listen_port: 50000
+ distributed_network:
+ enabled: true
+ child_limit: 10
+ connection:
+ timeout:
+ connect: 5000
+ inactivity: 15000
+ buffer:
+ read: 16384
+ write: 16384
+authentication:
+ users:
+ - name: admin
+ password: admin
+ role: Administrator
+ - name: user
+ password: user
+ role: User
+ api_keys:
+ - key: 1234567890
+ role: ReadOnly \ No newline at end of file