servarr-stack – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | [Unit] |
2 | Description=Whisparr |
||
3 | After=docker.service prowlarr.service rtorrent.service gotify.service |
||
4 | Requires=docker.service |
||
5 | StartLimitIntervalSec=0 |
||
6 | Wants=prowlarr.service rtorrent.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' |
||
2 | office | 13 | ExecStartPre=/usr/bin/docker pull localhost:5000/whisparr:latest |
1 | office | 14 | ExecStart=/usr/bin/docker run --name=whisparr \ |
15 | --rm \ |
||
16 | --hostname whisparr \ |
||
17 | --net=entertainment \ |
||
18 | --interactive \ |
||
19 | --user 0:0 \ |
||
20 | --health-cmd 'curl -f http://localhost:6969/whisparr/api/v3/health?apiKey=API_KEY || exit 1' \ |
||
21 | --health-interval 1m \ |
||
22 | --health-retries 3 \ |
||
23 | --health-timeout 10s \ |
||
24 | --health-start-period 60s \ |
||
25 | -p 6969:6969 \ |
||
26 | -v /mnt/swarm/docker/data/whisparr:/config \ |
||
27 | -v /mnt/archie/Pornography:/data \ |
||
28 | -v /mnt/swarm/downloads:/downloads \ |
||
2 | office | 29 | localhost:5000/whisparr:latest |
1 | office | 30 | ExecStop=/usr/bin/docker stop whisparr |
31 | ExecStop=/usr/bin/docker rm -f whisparr |
||
32 | TimeoutSec=300 |
||
33 | Environment=DOCKER_CONFIG=/etc/docker |
||
34 | |||
35 | [Install] |
||
36 | WantedBy=multi-user.target |