From a53574a6fe73dd56b28034ac5b4c8270685dfe2a Mon Sep 17 00:00:00 2001 From: adsfzxcvzxcvzdfaegag Date: Tue, 10 Aug 2021 13:47:37 +1000 Subject: Add docker-compose file to README --- README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b367ae6..4e2076c8 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" +servicesL + slskd: + image: slskd/slskd + container_name: slskd + 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 + restart: always +``` +This command/docker-compose file 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. -- cgit v1.2.3 From 33d3fdc55e1a1b90f80f3f4b0175ac36f690d2fa Mon Sep 17 00:00:00 2001 From: adsfzxcvzxcvzdfaegag Date: Tue, 10 Aug 2021 13:55:10 +1000 Subject: Reworded README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e2076c8..12379fb2 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ servicesL - :/var/slskd/shared restart: always ``` -This command/docker-compose file 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. +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. -- cgit v1.2.3 From 7cabe34c89045aeb3508d8cb614e499b5587701a Mon Sep 17 00:00:00 2001 From: adsfzxcvzxcvzdfaegag <88698611+adsfzxcvzxcvzdfaegag@users.noreply.github.com> Date: Fri, 13 Aug 2021 03:36:11 +0000 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12379fb2..c743f01d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ docker run -d \ ``` --- version: "2" -servicesL +services: slskd: image: slskd/slskd container_name: slskd -- cgit v1.2.3