servarr-stack – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 [Unit]
2 Description=Gotify
3 After=docker.service
4 Requires=docker.service
5 StartLimitIntervalSec=0
6  
7 [Service]
8 Restart=always
9 RestartSec=5s
10 ExecStartPre=/bin/sh -c '/usr/bin/docker network create entertainment || true'
11 ExecStartPre=/usr/bin/docker pull gotify/server
12 ExecStart=/usr/bin/docker run --name=gotify \
13 --rm \
14 --hostname gotify \
15 --net=entertainment \
16 --interactive \
17 --user 0:0 \
18 --health-cmd 'curl -f http://localhost:80/health || exit 1' \
19 --health-interval 1m \
20 --health-retries 3 \
21 --health-timeout 10s \
22 --health-start-period 60s \
23 -e TZ=Etc/UTC \
24 -p 50111:80 \
25 -v /mnt/swarm/docker/data/gotify:/app/data \
26 gotify/server
27 ExecStop=/usr/bin/docker stop gotify
28 ExecStop=/usr/bin/docker rm -f gotify
29 TimeoutSec=300
30 Environment=DOCKER_CONFIG=/etc/docker
31  
32 [Install]
33 WantedBy=multi-user.target