Replace delugevpn with qbitorrent and gluetun

This commit is contained in:
mr-vercetti 2024-04-25 21:48:43 +02:00
parent eb056980fa
commit 4009ee8ca4
4 changed files with 61 additions and 51 deletions

View File

@ -20,7 +20,7 @@ All services are deployed using Docker compose and are run as a non-root user.
* [Radarr](https://github.com/linuxserver/docker-radarr) - movie collection manager
* [Sonarr](https://github.com/linuxserver/docker-sonarr) - TV show collection manager
* [Bazarr](https://github.com/linuxserver/docker-bazarr) - subtitle manager
* [delugevpn](https://github.com/binhex/arch-delugevpn) - torrent client with VPN and Privoxy
* [qBittorrent](https://github.com/linuxserver/docker-qbittorrent) - torrent client
* [YoutubeDL](https://github.com/Tzahi12345/YoutubeDL-Material) - Youtube media downloader
* [Prowlarr](https://github.com/Prowlarr/Prowlarr) - indexer
* [Lidarr](https://github.com/Lidarr/Lidarr) - music library manager
@ -42,6 +42,7 @@ All services are deployed using Docker compose and are run as a non-root user.
* [Homer](https://github.com/bastienwirtz/homer) - simple dashboard to keep services on hand
* [mr.vercetti.cc](https://git.vercetti.cc/mr-vercetti/mr.vercetti.cc) - my personal blog
* [static-file-server](https://github.com/halverneus/static-file-server) - static file server
* [gluetun](https://github.com/qdm12/gluetun) - vpn client
## Storage solution
I went with [MergerFS](https://github.com/trapexit/mergerfs) and [SnapRAID](https://github.com/amadvance/snapraid), which allows me a great deal of flexibility and still keeps my data safe. Array is synchronized and scrubbed automatically via [snapraid-runner](https://github.com/Chronial/snapraid-runner) running from crontab.

View File

@ -0,0 +1,20 @@
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=custom
- VPN_TYPE=wireguard
volumes:
- ${APPS_DIR}/gluetun:/gluetun
networks:
- gluetun
ports:
# qbittorrent
- '8183:8183'
networks:
gluetun:
name: gluetun

View File

@ -83,6 +83,17 @@ services:
ports:
- 9696:9696
restart: unless-stopped
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr
container_name: flaresolverr
networks:
- media
environment:
- TZ=${TIMEZONE}
ports:
- 8191:8191
restart: unless-stopped
bazarr:
image: lscr.io/linuxserver/bazarr
@ -118,38 +129,39 @@ services:
- 8686:8686
restart: unless-stopped
delugevpn:
image: binhex/arch-delugevpn
container_name: delugevpn
qbittorrent:
image: linuxserver/qbittorrent
container_name: qbittorrent
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
- UMASK_SET=022
- WEBUI_PORT=8183
network_mode: "container:gluetun"
volumes:
- ${APPS_DIR}/qbittorrent/config:/config
- ${DATA_DIR}/downloads:/downloads
- ${APPS_DIR}/qbittorrent/vuetorrent:/vuetorrent
restart: unless-stopped
ytdl-material:
image: tzahi12345/youtubedl-material:sha-208cd83
container_name: ytdl-material
networks:
- media
cap_add:
- NET_ADMIN
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
- VPN_ENABLED=yes
- VPN_PROV=custom
- VPN_CLIENT=wireguard
- ENABLE_PRIVOXY=yes
- LAN_NETWORK=${LAN_NETWORK}
- NAME_SERVERS=1.1.1.1, 1.0.0.1
- DELUGE_DAEMON_LOG_LEVEL=info
- DELUGE_WEB_LOG_LEVEL=info
- DEBUG=true
- UMASK=000
- UID=${PUID}
- GID=${PGID}
- ALLOW_CONFIG_MUTATIONS=true
volumes:
- ${APPS_DIR}/delugevpn:/config
- ${DATA_DIR}/downloads:/downloads
- /etc/localtime:/etc/localtime:ro
- ${APPS_DIR}/ytdl-material:/app/appdata
- ${DATA_DIR}/ytdl/audio:/app/audio
- ${DATA_DIR}/ytdl/video:/app/video
- ${DATA_DIR}/ytdl/subscriptions:/app/subscriptions
- ${DATA_DIR}/ytdl/users:/app/users
ports:
- 8112:8112
- 58846:58846
- 8118:8118
sysctls:
- "net.ipv4.conf.all.src_valid_mark=1"
privileged: true
- "8998:17442"
restart: unless-stopped
networks:

View File

@ -1,23 +0,0 @@
services:
ytdl-material:
image: tzahi12345/youtubedl-material
container_name: ytdl-material
networks:
- ytdl-material
environment:
- UID=${PUID}
- GID=${PGID}
- ALLOW_CONFIG_MUTATIONS=true
volumes:
- ${APPS_DIR}/ytdl-material:/app/appdata
- ${DATA_DIR}/ytdl/audio:/app/audio
- ${DATA_DIR}/ytdl/video:/app/video
- ${DATA_DIR}/ytdl/subscriptions:/app/subscriptions
- ${DATA_DIR}/ytdl/users:/app/users
ports:
- "8998:17442"
restart: unless-stopped
networks:
ytdl-material:
name: ytdl-material