arch-qbittorrentvpn
arch-qbittorrentvpn copied to clipboard
Docker network images stopping
Hey folks, this may not be anything to do with the binhex image, but I really couldn't think of where else to ask this.
I've got a Docker network set up with several other images plugging into the QBT VPN image here.
My problem is that the images in the network seem to stop every 24hrs or so, needing a manual restart. Any ideas why this might be? I've had a look at the jackett logs but I can't see anything there that indicates why shutdown is happening. restart: always
is set. The only thing I can think of might be the depends-on
configuration, but I wanted the jackett image to not work if qbt was shut down.
Anybody cleverer than me seen this before and know what it might be? Thanks in advance.
version: '3.3'
services:
arch-qbittorrentvpn:
devices:
- /dev/net/tun
ports:
- '6881:6881'
- '6881:6881/udp'
- '8087:8087'
- '9117:9117'
- '6080:6080'
privileged: true
restart: always
cap_add:
- NET_ADMIN
container_name: qbittorrent-vpn
volumes:
- '/volume1/docker/qbittorrent-airvpn/data:/data'
- '/volume1/docker/qbittorrent-airvpn/config:/config'
- '/etc/localtime:/etc/localtime:ro'
- /volume1/downloads/:/downloads
environment:
- VPN_ENABLED=yes
- "VPN_USER=*user*"
- VPN_PASS=*pass*
- VPN_PROV=*vpnprovider*
- VPN_CLIENT=openvpn
# - VPN_OPTIONS=
- STRICT_PORT_FORWARD=yes
- ENABLE_PRIVOXY=yes
- LAN_NETWORK=192.168.1.77/24
- NAME_SERVERS=1.1.1.1,1.0.0.1
- ADDITIONAL_PORTS=54763
- DEBUG=true
- WEBUI_PORT=8087
- UMASK=000
- PUID=1029
- PGID=100
- CREATE_TUN_DEVICE=true
# image: binhex/arch-qbittorrentvpn:latest # change when Radarr issue is fixed
image: binhex/arch-qbittorrentvpn:4.2.5-1-12
networks:
- vpnnet
jackett:
depends_on:
- arch-qbittorrentvpn
image: linuxserver/jackett
container_name: jackett
restart: always
network_mode: "service:arch-qbittorrentvpn"
environment:
- PGID=100
- PUID=1029
- TZ=Europe/London
volumes:
- '/volume1/docker/jackett:/config'
- '/volume1/downloads:/downloads'
networks:
vpnnet:
driver: bridge
Try with
restart: unless-stopped