Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker network images stopping #71

Open
jt196 opened this issue Dec 30, 2020 · 1 comment
Open

Docker network images stopping #71

jt196 opened this issue Dec 30, 2020 · 1 comment

Comments

@jt196
Copy link

jt196 commented Dec 30, 2020

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
@Anoopnk
Copy link

Anoopnk commented Jul 20, 2021

Try with
restart: unless-stopped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants