aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-08-14 15:25:48 -0500
committerGitHub <noreply@github.com>2021-08-14 15:25:48 -0500
commit71ae35bd7088795157f218c7db0e70cb14e9c198 (patch)
treec55f16412837ee3455fdd2940e162b157d8d2fbe /README.md
parentcf6fec19e384200da1be2cea13252dc62da508a3 (diff)
parent7cabe34c89045aeb3508d8cb614e499b5587701a (diff)
downloadslskd-71ae35bd7088795157f218c7db0e70cb14e9c198.tar.gz
Merge pull request #143 from adsfzxcvzxcvzdfaegag/master
Add docker-compose.yml file to the README.md
Diffstat (limited to 'README.md')
-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.