Merge branch 'master' of git.vanoverloop.xyz:Danacus/home-pods
This commit is contained in:
commit
391c766e02
|
@ -0,0 +1,5 @@
|
|||
# Home server deployment
|
||||
|
||||
## Deploy
|
||||
|
||||
`# systemctl enable --now container-pihole container-proxy pod-nextcloud pod-home-assistant pod-gitea`
|
|
@ -0,0 +1,36 @@
|
|||
[Unit]
|
||||
Description=Podman container-qbittorrent.service
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
#BindsTo=pod-torrent.service
|
||||
#After=pod-torrent.service
|
||||
|
||||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=70
|
||||
ExecStartPre=/bin/rm -f %t/%n.ctr-id
|
||||
ExecStart=/usr/bin/podman run --cidfile=%t/%n.ctr-id --cgroups=no-conmon --rm \
|
||||
# --pod-id-file %t/pod-torrent.pod-id \
|
||||
--sdnotify=conmon --replace -d \
|
||||
--name=qbittorrent \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/Brussels \
|
||||
-e WEBUI_PORT=8080 \
|
||||
-p 10.65.118.183:54822:8080 \
|
||||
-p 10.65.118.183:57490:6881 \
|
||||
-p 10.65.118.183:57490:6881/udp \
|
||||
# --network=vpn-net \
|
||||
-v qbittorrent-appdata:/config:Z \
|
||||
-v qbittorrent-downloads:/downloads:z \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
docker.io/linuxserver/qbittorrent
|
||||
ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id
|
||||
ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue