Skip to content

Commit cc9132e

Browse files
authored
Merge pull request #314 from linuxserver/readarr-sync
Sync readarr
2 parents 499c831 + d5db283 commit cc9132e

File tree

1 file changed

+28
-12
lines changed

1 file changed

+28
-12
lines changed

Diff for: docs/images/docker-readarr.md

+28-12
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: "[Readarr](https://github.com/Readarr/Readarr) - Book Manager and A
88
<!-- Please read https://github.com/linuxserver/docker-readarr/blob/develop/.github/CONTRIBUTING.md -->
99
# [linuxserver/readarr](https://github.com/linuxserver/docker-readarr)
1010

11-
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Freadarr?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Freadarr)
11+
[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Freadarr?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker)](https://scarf.sh)
1212
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-readarr.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver/docker-readarr)
1313
[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-readarr.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github&include_prereleases)](https://github.com/linuxserver/docker-readarr/releases)
1414
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver/docker-readarr/packages)
@@ -17,7 +17,7 @@ description: "[Readarr](https://github.com/Readarr/Readarr) - Book Manager and A
1717
[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/readarr.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/linuxserver/readarr)
1818
[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/readarr.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker)](https://hub.docker.com/r/linuxserver/readarr)
1919
[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-readarr%2Fjob%2Fdevelop%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-readarr/job/develop/)
20-
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Freadarr%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/readarr/latest/index.html)
20+
[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Freadarr%2Fdevelop%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/readarr/develop/index.html)
2121

2222
[Readarr](https://github.com/Readarr/Readarr) - Book Manager and Automation (Sonarr for Ebooks)
2323

@@ -53,16 +53,30 @@ Access the webui at `<your-ip>:8787`, for more information check out [Readarr](h
5353

5454
### Media folders
5555

56-
We have set `/books` and `/downloads` as ***optional paths***, this is because it is the easiest way to get started. While easy to use, it has some drawbacks. Mainly losing the ability to hardlink (TL;DR a way for a file to exist in multiple places on the same file system while only consuming one file worth of space), or atomic move (TL;DR instant file moves, rather than copy+delete) files while processing content.
56+
We have set '/books' and '/downloads' as optional paths, this is because it is the easiest way to get started. While easy to use, it has some drawbacks. Mainly losing the ability to hardlink (TL;DR a way for a file to exist in multiple places on the same file system while only consuming one file worth of space), or atomic move (TL;DR instant file moves, rather than copy+delete) files while processing content.
5757

58-
Use the optional paths if you dont understand, or dont want hardlinks/atomic moves.
58+
Use the optional paths if you don't understand, or don't want hardlinks/atomic moves.
5959

60-
The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths) on how to get started with this.
60+
??? tip "Well planned paths"
61+
62+
The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths) on how to get started with this.
63+
64+
## Read-Only Operation
65+
66+
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
67+
68+
## Non-Root Operation
69+
70+
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
6171

6272
## Usage
6373

6474
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
6575

76+
!!! info
77+
78+
Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
79+
6680
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
6781

6882
```yaml
@@ -76,9 +90,9 @@ services:
7690
- PGID=1000
7791
- TZ=Etc/UTC
7892
volumes:
79-
- /path/to/data:/config
93+
- /path/to/readarr/data:/config
8094
- /path/to/books:/books #optional
81-
- /path/to/downloadclient-downloads:/downloads #optional
95+
- /path/to/download-client-downloads:/downloads #optional
8296
ports:
8397
- 8787:8787
8498
restart: unless-stopped
@@ -93,9 +107,9 @@ docker run -d \
93107
-e PGID=1000 \
94108
-e TZ=Etc/UTC \
95109
-p 8787:8787 \
96-
-v /path/to/data:/config \
110+
-v /path/to/readarr/data:/config \
97111
-v /path/to/books:/books `#optional` \
98-
-v /path/to/downloadclient-downloads:/downloads `#optional` \
112+
-v /path/to/download-client-downloads:/downloads `#optional` \
99113
--restart unless-stopped \
100114
lscr.io/linuxserver/readarr:develop
101115
```
@@ -108,7 +122,7 @@ Containers are configured using parameters passed at runtime (such as those abov
108122

109123
| Parameter | Function |
110124
| :----: | --- |
111-
| `8787` | The port for the Readarr webinterface |
125+
| `8787:8787` | The port for the Readarr web UI |
112126

113127
### Environment Variables (`-e`)
114128

@@ -130,6 +144,8 @@ Containers are configured using parameters passed at runtime (such as those abov
130144

131145
| Parameter | Function |
132146
| :-----: | --- |
147+
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
148+
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
133149

134150
## Environment variables from files (Docker secrets)
135151

@@ -284,10 +300,10 @@ docker build \
284300
-t lscr.io/linuxserver/readarr:develop .
285301
```
286302

287-
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
303+
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
288304

289305
```bash
290-
docker run --rm --privileged multiarch/qemu-user-static:register --reset
306+
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
291307
```
292308

293309
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.

0 commit comments

Comments
 (0)