• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle
  • ### GLUETUN
    
    services:
      gluetun:
        image: qmcgaw/gluetun
        container_name: gluetun
        cap_add:
          - NET_ADMIN
        devices:
          - /dev/net/tun:/dev/net/tun
        ports:
          - 8888:8888/tcp # HTTP proxy
          # - 8388:8388/tcp # Shadowsocks
          # - 8388:8388/udp # Shadowsocks
          - 8090:8090/tcp # qbittorrent
          - xxxx:xxxx/tcp
          - 3423:3000/tcp # librewolf
        volumes:
          - /volumex/docker/gluetun:/gluetun
        environment:
          - PUID=xxxx #CHANGE_TO_YOUR_UID
          - PGID=xxxx #CHANGE_TO_YOUR_GID
          - TZ=Europe/xxxx #CHANGE_TO_YOUR_TZ
          - VPN_SERVICE_PROVIDER=airvpn
          - VPN_TYPE=wireguard
          - WIREGUARD_PRIVATE_KEY=xxxx
          - WIREGUARD_PRESHARED_KEY=xxxx
          - WIREGUARD_ADDRESSES=xxx.xxx.xxx.xxx
          - SERVER_REGIONS=Europe
          - HTTPPROXY=off #change to on if you wish to enable
          - SHADOWSOCKS=off #change to on if you wish to enable
          - FIREWALL_OUTBOUND_SUBNETS=172.20.0.0/16,192.168.0.0/24 #change this in line with your subnet see note on guide.
          - FIREWALL_VPN_INPUT_PORTS=xxxx #uncomment this line and change the port as per the note on the guide
          - UPDATER_PERIOD=24h
        network_mode: bridge-xxxx
        labels:
          - com.centurylinklabs.watchtower.enable=false
        security_opt:
          - no-new-privileges:true
        restart: always
    
    
    ### QBITTORRENT
    
      qbittorrent:
        image: linuxserver/qbittorrent:5.0.1
        container_name: qbittorrent
        environment:
          - PUID=xxxx #CHANGE_TO_YOUR_UID
          - PGID=xxxx #CHANGE_TO_YOUR_GID
          - TZ=Europe/xxxx #CHANGE_TO_YOUR_TZ
          - WEBUI_PORT=8090
          - UMASK=022
        volumes:
          - /volumex/docker/qbittorrent:/config
    
          - /volumex/linux-isos/:/data
        network_mode: service:gluetun # run on the vpn network
        depends_on:
          gluetun:
            condition: service_healthy
        security_opt:
          - no-new-privileges:true
        restart: always
    
    ### LIBREWOLF
    
      librewolf:
        container_name: LibreWolf
        image: ghcr.io/linuxserver/librewolf:latest
        security_opt:
          - no-new-privileges:false
          - seccomp:unconfined
        #healthcheck:
         # test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1
          #interval: 10s
          #timeout: 5s
          #retries: 3
          #start_period: 90s
        environment:
          CUSTOM_USER: xxxx
          PASSWORD: xxxx
          TZ: Europe/xxxx
          PUID: xxxx #CHANGE_TO_YOUR_UID
          PGID: xxxx #CHANGE_TO_YOUR_GID
        volumes:
          - /volumex/docker/librewolf:/config:rw
        network_mode: service:gluetun # run on the vpn network
        restart: no 
        depends_on:
          gluetun:
            condition: service_healthy
        shm_size: "5gb"