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(-) (limited to 'README.md') 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