kopia lustrzana https://github.com/linuxserver/docker-documentation
commit
cc9132ef93
|
@ -8,7 +8,7 @@ description: "[Readarr](https://github.com/Readarr/Readarr) - Book Manager and A
|
||||||
<!-- Please read https://github.com/linuxserver/docker-readarr/blob/develop/.github/CONTRIBUTING.md -->
|
<!-- Please read https://github.com/linuxserver/docker-readarr/blob/develop/.github/CONTRIBUTING.md -->
|
||||||
# [linuxserver/readarr](https://github.com/linuxserver/docker-readarr)
|
# [linuxserver/readarr](https://github.com/linuxserver/docker-readarr)
|
||||||
|
|
||||||
[](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Freadarr)
|
[](https://scarf.sh)
|
||||||
[](https://github.com/linuxserver/docker-readarr)
|
[](https://github.com/linuxserver/docker-readarr)
|
||||||
[](https://github.com/linuxserver/docker-readarr/releases)
|
[](https://github.com/linuxserver/docker-readarr/releases)
|
||||||
[](https://github.com/linuxserver/docker-readarr/packages)
|
[](https://github.com/linuxserver/docker-readarr/packages)
|
||||||
|
@ -17,7 +17,7 @@ description: "[Readarr](https://github.com/Readarr/Readarr) - Book Manager and A
|
||||||
[](https://hub.docker.com/r/linuxserver/readarr)
|
[](https://hub.docker.com/r/linuxserver/readarr)
|
||||||
[](https://hub.docker.com/r/linuxserver/readarr)
|
[](https://hub.docker.com/r/linuxserver/readarr)
|
||||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-readarr/job/develop/)
|
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-readarr/job/develop/)
|
||||||
[](https://ci-tests.linuxserver.io/linuxserver/readarr/latest/index.html)
|
[](https://ci-tests.linuxserver.io/linuxserver/readarr/develop/index.html)
|
||||||
|
|
||||||
[Readarr](https://github.com/Readarr/Readarr) - Book Manager and Automation (Sonarr for Ebooks)
|
[Readarr](https://github.com/Readarr/Readarr) - Book Manager and Automation (Sonarr for Ebooks)
|
||||||
|
|
||||||
|
@ -53,16 +53,30 @@ Access the webui at `<your-ip>:8787`, for more information check out [Readarr](h
|
||||||
|
|
||||||
### Media folders
|
### Media folders
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
Use the optional paths if you dont understand, or dont want hardlinks/atomic moves.
|
Use the optional paths if you don't understand, or don't want hardlinks/atomic moves.
|
||||||
|
|
||||||
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.
|
??? tip "Well planned paths"
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
## Read-Only Operation
|
||||||
|
|
||||||
|
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
|
||||||
|
|
||||||
|
## Non-Root Operation
|
||||||
|
|
||||||
|
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||||
|
|
||||||
|
!!! info
|
||||||
|
|
||||||
|
Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
|
||||||
|
|
||||||
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -76,9 +90,9 @@ services:
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Etc/UTC
|
- TZ=Etc/UTC
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/data:/config
|
- /path/to/readarr/data:/config
|
||||||
- /path/to/books:/books #optional
|
- /path/to/books:/books #optional
|
||||||
- /path/to/downloadclient-downloads:/downloads #optional
|
- /path/to/download-client-downloads:/downloads #optional
|
||||||
ports:
|
ports:
|
||||||
- 8787:8787
|
- 8787:8787
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -93,9 +107,9 @@ docker run -d \
|
||||||
-e PGID=1000 \
|
-e PGID=1000 \
|
||||||
-e TZ=Etc/UTC \
|
-e TZ=Etc/UTC \
|
||||||
-p 8787:8787 \
|
-p 8787:8787 \
|
||||||
-v /path/to/data:/config \
|
-v /path/to/readarr/data:/config \
|
||||||
-v /path/to/books:/books `#optional` \
|
-v /path/to/books:/books `#optional` \
|
||||||
-v /path/to/downloadclient-downloads:/downloads `#optional` \
|
-v /path/to/download-client-downloads:/downloads `#optional` \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
lscr.io/linuxserver/readarr:develop
|
lscr.io/linuxserver/readarr:develop
|
||||||
```
|
```
|
||||||
|
@ -108,7 +122,7 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||||
|
|
||||||
| Parameter | Function |
|
| Parameter | Function |
|
||||||
| :----: | --- |
|
| :----: | --- |
|
||||||
| `8787` | The port for the Readarr webinterface |
|
| `8787:8787` | The port for the Readarr web UI |
|
||||||
|
|
||||||
### Environment Variables (`-e`)
|
### Environment Variables (`-e`)
|
||||||
|
|
||||||
|
@ -130,6 +144,8 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||||
|
|
||||||
| Parameter | Function |
|
| Parameter | Function |
|
||||||
| :-----: | --- |
|
| :-----: | --- |
|
||||||
|
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
|
||||||
|
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
|
||||||
|
|
||||||
## Environment variables from files (Docker secrets)
|
## Environment variables from files (Docker secrets)
|
||||||
|
|
||||||
|
@ -284,10 +300,10 @@ docker build \
|
||||||
-t lscr.io/linuxserver/readarr:develop .
|
-t lscr.io/linuxserver/readarr:develop .
|
||||||
```
|
```
|
||||||
|
|
||||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
The ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
docker run --rm --privileged lscr.io/linuxserver/qemu-static --reset
|
||||||
```
|
```
|
||||||
|
|
||||||
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
|
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
|
||||||
|
|
Ładowanie…
Reference in New Issue