Missing yaml config in repository and config clarifications #153
-
|
The default yaml config doesn't seem to be anywhere in the repo anymore? Also, I was wondering whether there would be any benefit to making a Matrix chat for this project? I suppose as there is only one maintainer for now there wouldn't be much yet.. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
The default config that gets copied over to the release is here: https://github.com/slskd/slskd/blob/master/src/slskd/Properties/slskd.yml I see what you're saying about the example, I'll see about updating it to include a few commented out entries. I intend to write some actual documentation now that the configuration stuff has stopped changing so frequently. It crossed my mind to create a chat, I'll think about the best place. |
Beta Was this translation helpful? Give feedback.
-
|
Circling back on this, quite a bit has changed since it was posted! A full example of the config is now located here, and this is copied to the application directory when the application starts if no config file is found. The configuration is now documented here, with some other typical configurations covered in this directory (docker, reverse proxies, etc) An official chat for slskd has been established on Discord with a relay to Matrix. |
Beta Was this translation helpful? Give feedback.
-
|
Hey 👋 I'm exhuming this thread instead of opening a new one, hope that's ok! I'm using a the following command docker run \
-p 5030:5030 \
-p 5031:5031 \
-p 50300:50300 \
-e SLSKD_REMOTE_CONFIGURATION=true\
-v $HOME/testslskd:/app -v $HOME/testslskd/Music:/music -v $HOME/testslskd/eBooks:/ebooks \
-e "SLSKD_SHARED_DIR=/music;/ebooks" \
--name slskd \
slskd/slskd:latestand the following debug: true
remote_configuration: true
instance_name: default
flags:
no_logo: false
no_start: false
no_connect: false
no_share_scan: false
force_share_scan: false
no_version_check: false
log_sql: false
experimental: false
volatile: false
relay:
enabled: false
mode: debug # controller (default), agent, or debug (for local development)
# controller config is required when running in 'agent' mode
# this specifies the relay controller that will be controlling this agent
controller:
address: https://some.site.com:5000
ignore_certificate_errors: false
api_key: <a 16-255 character string corresponding to one of the controller's 'readwrite' or 'administrator' API keys>
secret: <a 16-255 character shared secret matching the controller's config for this agent>
downloads: false
# agent config is optional when running in 'controller' mode
# this specifies all of the agents capable of connecting
agents:
my_agent:
secret: <a 16-255 character string unique to this agent>
cidr: 0.0.0.0/0,::/0
directories:
incomplete: ~
downloads: ~
shares:
directories:
- ~
filters:
- \.ini$
- Thumbs.db$
- \.DS_Store$
cache:
storage_mode: memory
workers: 16
rooms:
- ~
global:
upload:
slots: 20
speed_limit: 1000
download:
slots: 500
speed_limit: 1000
groups:
default:
upload:
priority: 500
strategy: roundrobin
slots: 10
leechers:
thresholds:
files: 1
directories: 1
upload:
priority: 999
strategy: roundrobin
slots: 1
speed_limit: 100
# blacklisted:
# members:
# - <username to blacklist>
user_defined:
my_buddies:
upload:
priority: 250
queue_strategy: firstinfirstout
slots: 10
members:
- alice
- bob
filters:
search:
request:
- ^.{1,2}$
web:
port: 5000
https:
disabled: false
port: 5001
force: false
certificate:
pfx: ~
password: ~
url_base: /
content_path: wwwroot
logging: false
authentication:
disabled: false
username: slskd
password: slskd
jwt:
key: ~
ttl: 604800000
api_keys:
my_api_key:
key: <some example string between 16 and 255 characters>
role: readonly # readonly, readwrite, administrator
cidr: 0.0.0.0/0,::/0
logger:
loki: ~
metrics:
enabled: false
url: /metrics
authentication:
disabled: false
username: slskd
password: slskd
feature:
swagger: true
soulseek:
username: thisisatestuser
password: password
description: |
A slskd user. https://github.com/slskd/slskd
listen_port: 50000
diagnostic_level: Info
distributed_network:
disabled: false
disable_children: false
child_limit: 25
logging: false
connection:
timeout:
connect: 10000
inactivity: 15000
buffer:
read: 16384
write: 16384
transfer: 262144
write_queue: 250
proxy:
enabled: false
address: ~
port: ~
username: ~
password: ~
integration:
ftp:
enabled: false
address: ~
port: ~
username: ~
password: ~
remote_path: /
encryption_mode: auto
ignore_certificate_errors: false
overwrite_existing: true
connection_timeout: 5000
retry_attempts: 3
pushbullet:
enabled: false
access_token: ~
notification_prefix: "From slskd:"
notify_on_private_message: true
notify_on_room_mention: true
retry_attempts: 3
cooldown_time: 900000I don't see anything going very wrong in the container's log i.e. so I'm wondering if I'm missing something in the config or somewhere else. Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
Circling back on this, quite a bit has changed since it was posted!
A full example of the config is now located here, and this is copied to the application directory when the application starts if no config file is found.
The configuration is now documented here, with some other typical configurations covered in this directory (docker, reverse proxies, etc)
An official chat for slskd has been established on Discord with a relay to Matrix.