diff --git a/README.md b/README.md new file mode 100644 index 0000000..f48cf7f --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Home server deployment + +## Deploy + +`# systemctl enable --now container-pihole container-proxy pod-nextcloud pod-home-assistant pod-gitea` diff --git a/container-qbittorrent.service_old b/container-qbittorrent.service_old new file mode 100644 index 0000000..84d6304 --- /dev/null +++ b/container-qbittorrent.service_old @@ -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