servarr-stack – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | [Unit] |
2 | Description=Prowlarr |
||
3 | After=docker.service rtorrent.service tor.service gotify.service |
||
4 | Requires=docker.service |
||
5 | StartLimitIntervalSec=0 |
||
6 | Wants=byparr.service rtorrent.service tor.service gotify.service |
||
7 | |||
8 | [Service] |
||
9 | Slice=servarr.slice |
||
10 | Restart=always |
||
11 | RestartSec=5s |
||
12 | ExecStartPre=/bin/sh -c '/usr/bin/docker network create entertainment || true' |
||
13 | ExecStartPre=/usr/bin/docker pull lscr.io/linuxserver/prowlarr:latest |
||
14 | ExecStart=/usr/bin/docker run --name=prowlarr \ |
||
15 | --rm \ |
||
16 | --hostname prowlarr \ |
||
17 | --net=entertainment \ |
||
18 | --interactive \ |
||
19 | --user 0:0 \ |
||
20 | --health-cmd 'curl -f http://localhost:9696/prowlarr/api/v1/health?apikey=API_KEY || exit 1' \ |
||
21 | --health-interval 1m \ |
||
22 | --health-retries 3 \ |
||
23 | --health-timeout 10s \ |
||
24 | --health-start-period 60s \ |
||
25 | -e PUID=1000 \ |
||
26 | -e PGID=1000 \ |
||
27 | -e TZ=Etc/UTC \ |
||
28 | -p 9696:9696 \ |
||
29 | -v /mnt/swarm/docker/data/prowlarr:/config \ |
||
30 | -v /mnt/swarm/downloads/:/downloads \ |
||
31 | lscr.io/linuxserver/prowlarr:latest |
||
32 | ExecStop=/usr/bin/docker stop prowlarr |
||
33 | ExecStop=/usr/bin/docker rm -f prowlarr |
||
34 | TimeoutSec=300 |
||
35 | Environment=DOCKER_CONFIG=/etc/docker |
||
36 | |||
37 | [Install] |
||
38 | WantedBy=multi-user.target |