aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-02-04 23:00:57 -0600
committerGitHub <noreply@github.com>2023-02-04 23:00:57 -0600
commitf158bb38927bd61b7e066ab4bb3e849cbddc1d06 (patch)
treedbb2da907001d1753efe79792ccb7d52ad6bace3
parent5406cfcc457a738226945b40acce067c349579dc (diff)
parenta6ddc3a7997aa1ff2ffff993466ce6375ec03ac3 (diff)
downloadslskd-f158bb38927bd61b7e066ab4bb3e849cbddc1d06.tar.gz
Merge pull request #875 from slskd/docs
Improve setup docs
-rw-r--r--README.md9
-rw-r--r--docs/docker.md16
2 files changed, 21 insertions, 4 deletions
diff --git a/README.md b/README.md
index 56b371cc..ab6a2485 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,7 @@ docker run -d \
-p 5030:5030 \
-p 5031:5031 \
-p 50300:50300 \
+ -e SLSKD_REMOTE_CONFIGURATION=true \
-v <path/to/application/data>:/app \
--name slskd \
slskd/slskd:latest
@@ -68,6 +69,8 @@ services:
- "5030:5030"
- "5031:5031"
- "50300:50300"
+ environment:
+ - SLSKD_REMOTE_CONFIGURATION=true
volumes:
- <path/to/application/data>:/app
restart: always
@@ -75,6 +78,10 @@ services:
This command or docker-compose file (depending on your choice) starts a container instance of slskd on ports 5030 (HTTP) and 5031 (HTTPS using a self-signed certificate). slskd begins listening for incoming connections on port 50300 and maps the application directory to the provided path.
+Once the container is running you can access the web UI over HTTP on port 5030, or HTTPS on port 5031. The default username and password are `slskd` and `slskd`, respectively. You'll want to change these if the application will be internet facing.
+
+The `SLSKD_REMOTE_CONFIGURATION` environment variable allows you to modify application configuration settings from the web UI. You might not want to enable this for an internet-facing installation.
+
You can find a more in-depth guide to running slskd in Docker [here](https://github.com/slskd/slskd/blob/master/docs/docker.md).
### With Binaries
@@ -83,7 +90,7 @@ The latest stable binaries can be downloaded from the [releases](https://github.
Binaries are shipped as zip files; extract the zip to your chosen directory and run.
-An application directory will be created in either `~/.local/share/slskd` (on Linux and macOS) or `%localappdata%/slskd` (on Windows).
+An application directory will be created in either `~/.local/share/slskd` (on Linux and macOS) or `%localappdata%/slskd` (on Windows). In the root of this directory the file `slskd.yml` will be created the first time the application runs. Edit this file to enter your credentials for the Soulseek network, and tweak any additional settings using the [configuration guide](https://github.com/slskd/slskd/blob/master/docs/config.md).
## Configuration
diff --git a/docs/docker.md b/docs/docker.md
index 8aecf2f9..aa11a610 100644
--- a/docs/docker.md
+++ b/docs/docker.md
@@ -1,12 +1,20 @@
# Running in Docker
+You'll need to [install Docker](https://docs.docker.com/get-docker/) first.
+
+Next, you'll need to make a few choices:
+
+* The HTTP and/or HTTPS ports for the slskd web UI (defaults 5030 and 5031)
+* The port for incoming connections from the Soulseek network (default 50300)
+* The directory for the slskd application data
+
For most users, a quick start will be all that is needed:
```shell
docker run -d \
- -p 5030:5030 \
- -p 5031:5031 \
- -p 50300:50300 \
+ -p <HTTP port>:5030 \
+ -p <HTTPS port>:5031 \
+ -p <listen port>:50300 \
-v <path/to/application/data>:/app \
--name slskd \
slskd/slskd:latest
@@ -25,6 +33,7 @@ docker run -d \
-p 5030:5030 \
-p 5031:5031 \
-p 50300:50300 \
+ -e SLSKD_REMOTE_CONFIGURATION=true \
-v /var/slskd:/app \
-v /home/JohnDoe/Music:/music \
-v /home/JohnDoe/eBooks:/ebooks \
@@ -48,6 +57,7 @@ docker run -d \
-p 5030:5030 \
-p 5031:5031 \
-p 50300:50300 \
+ -e SLSKD_REMOTE_CONFIGURATION=true \
-v /var/slskd:/app \
-v /home/JohnDoe/Music:/music \
-v /home/JohnDoe/eBooks:/ebooks \