diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-11-28 16:48:38 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-11-28 16:48:38 -0600 |
| commit | 60013e3a0bca4bfbd63babf2e5757f7352a53c5f (patch) | |
| tree | 7ce90675e390cb2e73e59926fc616d842a0bd1b2 | |
| parent | b59ec9ce5ff475900fbe0db0dd6994a4becaba8f (diff) | |
| download | slskd-60013e3a0bca4bfbd63babf2e5757f7352a53c5f.tar.gz | |
update README, stub config docs
| -rw-r--r-- | README.md | 38 |
1 files changed, 12 insertions, 26 deletions
@@ -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 <path/to/downloads>:/var/slskd/downloads \ - -v <path/to/incoming>:/var/slskd/incoming \ - -v <path/to/shared>:/var/slskd/shared \ - -e "SLSKD_USERNAME=<slskd username>" \ - -e "SLSKD_PASSWORD=<slskd password>" \ - -e "SLSKD_SLSK_USERNAME=<Soulseek username>" \ - -e "SLSKD_SLSK_PASSWORD=<Soulseek password>" \ + -p 50000:50000 \ + -v <path/to/application/data>:/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 username> - - SLSKD_PASSWORD=<slskd password> - - SLSKD_SLSK_USERNAME=<Soulseek username> - - SLSKD_SLSK_PASSWORD=<Soulseek password> volumes: - - <path/to/downloads>:/var/slskd/downloads - - <path/to/incoming>:/var/slskd/incoming - - <path/to/shared>:/var/slskd/shared + - <path/to/application/data>:/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). |
