diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-04-24 09:44:44 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-04-24 09:44:44 -0500 |
| commit | 64fb4c12a013ed1b50ddcf57fb4bd16decb928f0 (patch) | |
| tree | 3d647cf4f912fa6437e0d0030e99f577e6f0a2c7 /README.md | |
| parent | 19fba8293b472939d74ed23232577cbfdf523586 (diff) | |
| parent | fc722e4a78aa5369fcd5ca0d8e88bd98d874a1d8 (diff) | |
| download | slskd-64fb4c12a013ed1b50ddcf57fb4bd16decb928f0.tar.gz | |
Merge remote-tracking branch 'origin/master' into retries
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 43 |
1 files changed, 41 insertions, 2 deletions
@@ -45,6 +45,8 @@ New features are added all the time! ### With Docker +Choose Docker's built-in method of specifying a user for the container: + ```shell docker run -d \ -p 5030:5030 \ @@ -53,14 +55,49 @@ docker run -d \ -e SLSKD_REMOTE_CONFIGURATION=true \ -v <path/to/application/data>:/app \ --name slskd \ + --user 1000:1000 \ + slskd/slskd:latest +``` + +Or use the Linuxserver/*arr `PUID`/`PGID` method: + +```shell +docker run -d \ + -p 5030:5030 \ + -p 5031:5031 \ + -p 50300:50300 \ + -e PUID=1000 \ + -e PGID=1000 \ + -e SLSKD_REMOTE_CONFIGURATION=true \ + -v <path/to/application/data>:/app \ + --name slskd \ slskd/slskd:latest ``` ### With Docker-Compose +Choose Docker's built-in method of specifying a user for the container: + +```yaml +services: + slskd: + image: slskd/slskd + container_name: slskd + user: "1000:1000" + ports: + - "5030:5030" + - "5031:5031" + - "50300:50300" + environment: + - SLSKD_REMOTE_CONFIGURATION=true + volumes: + - <path/to/application/data>:/app + restart: always ``` ---- -version: "2" + +Or use the Linuxserver/*arr `PUID`/`PGID` method: + +```yaml services: slskd: image: slskd/slskd @@ -70,6 +107,8 @@ services: - "5031:5031" - "50300:50300" environment: + - PUID=1000 + - PGID=1000 - SLSKD_REMOTE_CONFIGURATION=true volumes: - <path/to/application/data>:/app |
