mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Remove Deluge and all related configs
This commit is contained in:
parent
0f861d38d7
commit
c1ae999fa6
5 changed files with 13 additions and 48 deletions
|
|
@ -31,7 +31,7 @@ borg create -v --stats --compression lz4 \
|
||||||
/home \
|
/home \
|
||||||
/data \
|
/data \
|
||||||
/etc \
|
/etc \
|
||||||
/var/lib/deluge \
|
/var/lib/transmission \
|
||||||
/var/lib/mailu \
|
/var/lib/mailu \
|
||||||
/var/lib/matrix/media_store \
|
/var/lib/matrix/media_store \
|
||||||
/var/lib/nextcloud \
|
/var/lib/nextcloud \
|
||||||
|
|
|
||||||
|
|
@ -344,8 +344,13 @@ check host mail-admin with address mailu.banditlair.com
|
||||||
#check host sonar with address sonar.banditlair.com
|
#check host sonar with address sonar.banditlair.com
|
||||||
# if failed port 443 protocol https with timeout 20 seconds then alert
|
# if failed port 443 protocol https with timeout 20 seconds then alert
|
||||||
|
|
||||||
check host deluge-ui with address deluge.banditlair.com
|
check host transmission with address transmission.banditlair.com
|
||||||
if failed port 443 protocol https with timeout 20 seconds then alert
|
if failed
|
||||||
|
port 443
|
||||||
|
protocol https
|
||||||
|
status = 401
|
||||||
|
with timeout 20 seconds
|
||||||
|
then alert
|
||||||
|
|
||||||
check host rpg-wiki with address rpg.banditlair.com
|
check host rpg-wiki with address rpg.banditlair.com
|
||||||
if failed port 443 protocol https with timeout 20 seconds then alert
|
if failed port 443 protocol https with timeout 20 seconds then alert
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ rsync -aAvh --progress root@${SOURCE_HOST}:/backups/ /backups --delete
|
||||||
#Sync Torrents
|
#Sync Torrents
|
||||||
mkdir -p {{docker_compose_files_folder}}/torrent
|
mkdir -p {{docker_compose_files_folder}}/torrent
|
||||||
rsync -aAvh --progress root@${SOURCE_HOST}:{{docker_compose_files_folder_previous_server}}/torrent/config/ {{docker_compose_files_folder}}/torrent/config --delete
|
rsync -aAvh --progress root@${SOURCE_HOST}:{{docker_compose_files_folder_previous_server}}/torrent/config/ {{docker_compose_files_folder}}/torrent/config --delete
|
||||||
rsync -aAvh --progress root@${SOURCE_HOST}:/var/lib/deluge/ /var/lib/deluge --delete
|
rsync -aAvh --progress root@${SOURCE_HOST}:/var/lib/transmission/ /var/lib/transmission --delete
|
||||||
|
|
||||||
#Sync emby
|
#Sync emby
|
||||||
mkdir -p {{docker_compose_files_folder}}/emby
|
mkdir -p {{docker_compose_files_folder}}/emby
|
||||||
|
|
|
||||||
|
|
@ -6,42 +6,6 @@ networks:
|
||||||
name: web
|
name: web
|
||||||
|
|
||||||
services:
|
services:
|
||||||
deluge:
|
|
||||||
image: binhex/arch-delugevpn
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
ports:
|
|
||||||
- 8118:8118
|
|
||||||
- 58846:58846
|
|
||||||
volumes:
|
|
||||||
- /var/lib/deluge:/data
|
|
||||||
- ./config/deluge:/config
|
|
||||||
- /data:/media
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
|
||||||
- VPN_ENABLED=yes
|
|
||||||
- VPN_USER=${VPN_USER}
|
|
||||||
- VPN_PASS=${VPN_PASS}
|
|
||||||
- VPN_REMOTE=${VPN_REMOTE}
|
|
||||||
- VPN_PORT=${VPN_PORT}
|
|
||||||
- VPN_PROTOCOL=${VPN_PROTOCOL}
|
|
||||||
- VPN_PROV=${VPN_PROV}
|
|
||||||
- ENABLE_PRIVOXY=yes
|
|
||||||
- LAN_NETWORK=10.90.86.0/26
|
|
||||||
- DEBUG=false
|
|
||||||
- PUID=33
|
|
||||||
- PGID=33
|
|
||||||
labels:
|
|
||||||
- "traefik.backend=deluge"
|
|
||||||
- "traefik.docker.network=web"
|
|
||||||
- "traefik.frontend.rule=Host:deluge.banditlair.com"
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.port=8112"
|
|
||||||
- "traefik.default.protocol=http"
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
- web
|
|
||||||
|
|
||||||
transmission:
|
transmission:
|
||||||
image: haugene/transmission-openvpn:latest-alpine
|
image: haugene/transmission-openvpn:latest-alpine
|
||||||
cap_add:
|
cap_add:
|
||||||
|
|
@ -95,7 +59,7 @@ services:
|
||||||
- "traefik.port=8989"
|
- "traefik.port=8989"
|
||||||
- "traefik.default.protocol=http"
|
- "traefik.default.protocol=http"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/deluge/completed:/downloads
|
- /var/lib/transmission/completed:/downloads
|
||||||
- /var/lib/nzbget/downloads:/nzbget
|
- /var/lib/nzbget/downloads:/nzbget
|
||||||
- ./config/sonarr:/config
|
- ./config/sonarr:/config
|
||||||
- /data/TV:/tv
|
- /data/TV:/tv
|
||||||
|
|
@ -119,7 +83,7 @@ services:
|
||||||
- "traefik.port=7878"
|
- "traefik.port=7878"
|
||||||
- "traefik.default.protocol=http"
|
- "traefik.default.protocol=http"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/deluge/completed:/downloads
|
- /var/lib/transmission/completed:/downloads
|
||||||
- /var/lib/nzbget/downloads:/nzbget
|
- /var/lib/nzbget/downloads:/nzbget
|
||||||
- ./config/radarr:/config
|
- ./config/radarr:/config
|
||||||
- /data/Movies:/movies
|
- /data/Movies:/movies
|
||||||
|
|
@ -143,7 +107,7 @@ services:
|
||||||
- "traefik.port=8181"
|
- "traefik.port=8181"
|
||||||
- "traefik.default.protocol=http"
|
- "traefik.default.protocol=http"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/deluge/completed:/downloads
|
- /var/lib/transmission/completed:/downloads
|
||||||
- ./config/headphones:/config
|
- ./config/headphones:/config
|
||||||
- /data/Music:/music
|
- /data/Music:/music
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
@ -188,7 +152,6 @@ services:
|
||||||
- "traefik.port=9117"
|
- "traefik.port=9117"
|
||||||
- "traefik.default.protocol=http"
|
- "traefik.default.protocol=http"
|
||||||
volumes:
|
volumes:
|
||||||
# - /var/lib/deluge/completed:/downloads
|
|
||||||
- ./config/jackett:/config
|
- ./config/jackett:/config
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
COMPOSE_PROJECT_NAME=torrent
|
COMPOSE_PROJECT_NAME=torrent
|
||||||
|
|
||||||
#Domains
|
#VPN
|
||||||
DELUGE_DOMAIN=deluge.banditlair.com
|
|
||||||
|
|
||||||
#Deluge VPN
|
|
||||||
VPN_USER={{deluge_vpn_user}}
|
VPN_USER={{deluge_vpn_user}}
|
||||||
VPN_PASS={{deluge_vpn_password}}
|
VPN_PASS={{deluge_vpn_password}}
|
||||||
VPN_REMOTE=vpn.blackvpn.de
|
VPN_REMOTE=vpn.blackvpn.de
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue