mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-03 22:57:18 +02:00
Updated Docker (markdown)
parent
ee2ef40f53
commit
5e7140e4da
17
Docker.md
17
Docker.md
@ -12,7 +12,7 @@ Docker containers are intended to be static, they shouldn't self update internal
|
||||
* Nightly: [hotio/radarr](https://hub.docker.com/r/hotio/radarr/)
|
||||
|
||||
# Using systemd
|
||||
Using your favorite editor, create `/etc/systemd/system/docker-radarr.service` with the following systemd unit file. Be sure to replace `TIMEZONE` and `LOCALPATH` with the correct values.
|
||||
Using your favorite editor, create `/etc/systemd/system/docker-radarr.service` with the following systemd unit file. Be sure to replace `timezone` and `path to data` with the correct values. Note that the `ExecStart` is basically the same as command on the docker page for the image you choose, so adjust appropriately. This example uses `linuxserver/radarr`, but `hotio/radarr` is equally as valid.
|
||||
|
||||
```systemd
|
||||
[Unit]
|
||||
@ -25,14 +25,13 @@ Restart=on-failure
|
||||
RestartSec=30
|
||||
|
||||
ExecStart=/usr/bin/docker run --rm \
|
||||
--name radarr \
|
||||
--network host \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=<TIMEZONE> \
|
||||
-v /<LOCALPATH>/config:/config \
|
||||
-v /<LOCALPATH>/downloads:/downloads \
|
||||
-v /<LOCALPATH>/movies:/movies \
|
||||
--name=radarr \
|
||||
-v <path to data>:/config \
|
||||
-v <path to data>:/downloads \
|
||||
-v <path to data>:/movies \
|
||||
-e PGID=<gid> -e PUID=<uid> \
|
||||
-e TZ=<timezone> \
|
||||
-p 7878:7878 \
|
||||
linuxserver/radarr
|
||||
|
||||
ExecStop=/usr/bin/docker stop radarr
|
||||
|
Loading…
Reference in New Issue
Block a user