From 60013e3a0bca4bfbd63babf2e5757f7352a53c5f Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 28 Nov 2021 16:48:38 -0600 Subject: update README, stub config docs --- README.md | 38 ++++++++++++-------------------------- 1 file changed, 12 insertions(+), 26 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 35f66935..0109cc61 100644 --- a/README.md +++ b/README.md @@ -9,17 +9,13 @@ slskd is a modern client-server application for the Soulseek file sharing networ docker run -d \ -p 5000:5000 \ -p 5001:5001 \ - -v :/var/slskd/downloads \ - -v :/var/slskd/incoming \ - -v :/var/slskd/shared \ - -e "SLSKD_USERNAME=" \ - -e "SLSKD_PASSWORD=" \ - -e "SLSKD_SLSK_USERNAME=" \ - -e "SLSKD_SLSK_PASSWORD=" \ + -p 50000:50000 \ + -v :/app \ --name slskd \ slskd/slskd:latest ``` ### Docker-Compose + ``` --- version: "2" @@ -27,23 +23,21 @@ services: slskd: image: slskd/slskd container_name: slskd + ports: + - "5000:5000" + - "5001:5001" + - "50000:50000" environment: - PUID=1000 - PGID=1000 - - TZ=Australia/Sydney - - SLSKD_USERNAME= - - SLSKD_PASSWORD= - - SLSKD_SLSK_USERNAME= - - SLSKD_SLSK_PASSWORD= volumes: - - :/var/slskd/downloads - - :/var/slskd/incoming - - :/var/slskd/shared + - :/app restart: always ``` -This command or docker-compose file (depending on your choice) starts a container instance of slskd on ports 5000 (http) and 5001 (https), maps shared, downloads and incoming directories to the paths you choose, and logs in to Soulseek using the credentials provided. -The default credentials for the web UI are slskd/slskd. +This command or docker-compose file (depending on your choice) starts a container instance of slskd on ports 5000 (http) and 5001 (https), begins listening for incoming connections on port 50000, and maps the application directory to the provided path. + +Once running, log in to the web UI using the default username `slskd` and password `slskd` to complete the configuration. ## Installation @@ -53,12 +47,4 @@ Binaries are shipped as zip files; extract the zip to a directory of your choosi ## Configuration -Configuration is provided via environment variables, a yaml configuration file, and via command line arguments, with the latter source taking precedence if more than one source is used (eg. a value specified in the configuration file overrides the same value specified by an environment variable). - -A full list of the environment variables and command line arguments supported by the application can be obtained with the following command: - -``` -./slskd --help --envars -``` - -An example of the yaml configuration file can be reviewed [here](https://github.com/slskd/slskd/blob/master/config/slskd.example.yml). +Detailed documentation for configuration options can be found [here](https://github.com/slskd/slskd/blob/master/docs/config.md). -- cgit v1.2.3