aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 12379fb219c5f14562d2bd23ac4ea16b776e0cda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# slskd

slskd is a modern client-server application for the Soulseek file sharing network.

## Quick Start

### Docker Run
```
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>" \
  --name slskd \
  slskd/slskd:latest
```
### Docker-Compose
```
---
version: "2"
servicesL
  slskd:
    image: slskd/slskd
    container_name: slskd
    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
    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.

## Installation

The latest stable binaries can be downloaded from the [releases](https://github.com/slskd/slskd/releases) page.  Platform specific binaries, along with the static content for the web UI, are produced as artifacts from every [build](https://github.com/slskd/slskd/actions?query=workflow%3ACI), if you'd prefer to use a canary release.

Binaries are shipped as zip files; extract the zip to a directory of your choosing and run.

## 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/src/slskd/slskd.yml).