aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-08-16 21:30:31 -0500
committerGitHub <noreply@github.com>2021-08-16 21:30:31 -0500
commit888b8103359e00862ebc91f4d6c0ff4899be3eda (patch)
tree426a79e1c17286552dd4f691e47ed3d62f3d6fbe
parentb02375273faa8ebfc81a681e9c07f0e1624b7bbf (diff)
parent71ae35bd7088795157f218c7db0e70cb14e9c198 (diff)
downloadslskd-888b8103359e00862ebc91f4d6c0ff4899be3eda.tar.gz
Merge branch 'master' into share-alias
-rw-r--r--README.md26
1 files changed, 24 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1b367ae6..c743f01d 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@ slskd is a modern client-server application for the Soulseek file sharing networ
## Quick Start
+### Docker Run
```
docker run -d \
-p 5000:5000 \
@@ -18,8 +19,29 @@ docker run -d \
--name slskd \
slskd/slskd:latest
```
-
-This command 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.
+### Docker-Compose
+```
+---
+version: "2"
+services:
+ 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.