mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Added sonarr, radarr, headphones and jackett
This commit is contained in:
parent
d089db0365
commit
a50df7c30f
9 changed files with 130 additions and 55 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
- { role: nextcloud-docker, tags: [ 'nextcloud', 'docker' ] }
|
- { role: nextcloud-docker, tags: [ 'nextcloud', 'docker' ] }
|
||||||
- { role: matrix-docker, tags: [ 'matrix', 'docker' ] }
|
- { role: matrix-docker, tags: [ 'matrix', 'docker' ] }
|
||||||
- { role: plex-docker, tags: [ 'plex', 'docker' ] }
|
- { role: plex-docker, tags: [ 'plex', 'docker' ] }
|
||||||
- { role: deluge-docker, tags: [ 'deluge', 'docker' ] }
|
- { role: torrent-docker, tags: [ 'torrent', 'docker' ] }
|
||||||
- { role: monit, tags: [ 'monit' ] }
|
- { role: monit, tags: [ 'monit' ] }
|
||||||
- { role: arch-mirror-docker, tags: [ 'mirror', 'docker' ] }
|
- { role: arch-mirror-docker, tags: [ 'mirror', 'docker' ] }
|
||||||
# vars_prompt:
|
# vars_prompt:
|
||||||
|
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
version: '2.2'
|
|
||||||
|
|
||||||
networks:
|
|
||||||
proxy-tier:
|
|
||||||
external:
|
|
||||||
name: nginx-proxy
|
|
||||||
|
|
||||||
services:
|
|
||||||
deluge:
|
|
||||||
image: binhex/arch-delugevpn
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
ports:
|
|
||||||
- 8118:8118
|
|
||||||
- 58846:58846
|
|
||||||
volumes:
|
|
||||||
- /var/lib/deluge:/data
|
|
||||||
- ./config:/config
|
|
||||||
- /media:/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=true
|
|
||||||
- PUID=33
|
|
||||||
- PGID=33
|
|
||||||
- VIRTUAL_HOST=${DELUGE_DOMAIN}
|
|
||||||
- VIRTUAL_NETWORK=nginx-proxy
|
|
||||||
- VIRTUAL_PORT=8112
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
- proxy-tier
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
---
|
|
||||||
- name: Copy deluge docker files
|
|
||||||
copy:
|
|
||||||
src: deluge
|
|
||||||
dest: "{{docker_compose_files_folder}}"
|
|
||||||
- name: Create deluge .env
|
|
||||||
template:
|
|
||||||
src: deluge/.env
|
|
||||||
dest: "{{docker_compose_files_folder}}/deluge/.env"
|
|
||||||
- name: Start deluge docker project
|
|
||||||
docker_service:
|
|
||||||
project_src: "{{docker_compose_files_folder}}/deluge"
|
|
||||||
state: present
|
|
||||||
|
|
@ -14,7 +14,7 @@ services:
|
||||||
- VIRTUAL_HOST=banditlair.com
|
- VIRTUAL_HOST=banditlair.com
|
||||||
- VIRTUAL_NETWORK=nginx-proxy
|
- VIRTUAL_NETWORK=nginx-proxy
|
||||||
- VIRTUAL_PORT=8888
|
- VIRTUAL_PORT=8888
|
||||||
- LETSENCRYPT_HOST=banditlair.com,mail.banditlair.com,mailu.banditlair.com,webmail.banditlair.com,gitlab.banditlair.com,cloud.banditlair.com,plex.banditlair.com,deluge.banditlair.com,rpg.banditlair.com,matrix.banditlair.com,emby.banditlair.com,arch.banditlair.com
|
- LETSENCRYPT_HOST=banditlair.com,mail.banditlair.com,mailu.banditlair.com,webmail.banditlair.com,gitlab.banditlair.com,cloud.banditlair.com,plex.banditlair.com,deluge.banditlair.com,rpg.banditlair.com,matrix.banditlair.com,emby.banditlair.com,arch.banditlair.com,sonarr.banditlair.com,radarr.banditlair.com,headphones.banditlair.com,jackett.banditlair.com
|
||||||
- LETSENCRYPT_EMAIL=letsencrypt.account@banditlair.com
|
- LETSENCRYPT_EMAIL=letsencrypt.account@banditlair.com
|
||||||
networks:
|
networks:
|
||||||
- proxy-tier
|
- proxy-tier
|
||||||
|
|
|
||||||
114
roles/torrent-docker/files/torrent/docker-compose.yml
Normal file
114
roles/torrent-docker/files/torrent/docker-compose.yml
Normal file
|
|
@ -0,0 +1,114 @@
|
||||||
|
version: '2.2'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-tier:
|
||||||
|
external:
|
||||||
|
name: nginx-proxy
|
||||||
|
|
||||||
|
services:
|
||||||
|
deluge:
|
||||||
|
image: binhex/arch-delugevpn
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
ports:
|
||||||
|
- 8118:8118
|
||||||
|
- 58846:58846
|
||||||
|
volumes:
|
||||||
|
- /var/lib/deluge:/data
|
||||||
|
- ./config/deluge:/config
|
||||||
|
- /media:/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
|
||||||
|
- VIRTUAL_HOST=${DELUGE_DOMAIN}
|
||||||
|
- VIRTUAL_NETWORK=nginx-proxy
|
||||||
|
- VIRTUAL_PORT=8112
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
|
|
||||||
|
sonarr:
|
||||||
|
image: linuxserver/sonarr
|
||||||
|
expose:
|
||||||
|
- 8989
|
||||||
|
environment:
|
||||||
|
- PUID=33
|
||||||
|
- PGID=33
|
||||||
|
- VIRTUAL_HOST=sonarr.banditlair.com
|
||||||
|
- VIRTUAL_NETWORK=nginx-proxy
|
||||||
|
- VIRTUAL_PORT=8989
|
||||||
|
volumes:
|
||||||
|
- /var/lib/deluge/completed:/downloads
|
||||||
|
- ./config/sonarr:/config
|
||||||
|
- /media/TV:/tv
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
|
|
||||||
|
radarr:
|
||||||
|
image: linuxserver/radarr
|
||||||
|
expose:
|
||||||
|
- 7878
|
||||||
|
environment:
|
||||||
|
- PUID=33
|
||||||
|
- PGID=33
|
||||||
|
- VIRTUAL_HOST=radarr.banditlair.com
|
||||||
|
- VIRTUAL_NETWORK=nginx-proxy
|
||||||
|
- VIRTUAL_PORT=7878
|
||||||
|
volumes:
|
||||||
|
- /var/lib/deluge/completed:/downloads
|
||||||
|
- ./config/radarr:/config
|
||||||
|
- /media/Movies:/movies
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
|
|
||||||
|
headphones:
|
||||||
|
image: linuxserver/headphones
|
||||||
|
expose:
|
||||||
|
- 8181
|
||||||
|
environment:
|
||||||
|
- PUID=33
|
||||||
|
- PGID=33
|
||||||
|
- VIRTUAL_HOST=headphones.banditlair.com
|
||||||
|
- VIRTUAL_NETWORK=nginx-proxy
|
||||||
|
- VIRTUAL_PORT=8181
|
||||||
|
volumes:
|
||||||
|
- /var/lib/deluge/completed:/downloads
|
||||||
|
- ./config/headphones:/config
|
||||||
|
- /media/Music:/music
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
|
|
||||||
|
jackett:
|
||||||
|
image: linuxserver/jackett
|
||||||
|
expose:
|
||||||
|
- 9117
|
||||||
|
environment:
|
||||||
|
- PUID=33
|
||||||
|
- PGID=33
|
||||||
|
- VIRTUAL_HOST=jackett.banditlair.com
|
||||||
|
- VIRTUAL_NETWORK=nginx-proxy
|
||||||
|
- VIRTUAL_PORT=9117
|
||||||
|
volumes:
|
||||||
|
# - /var/lib/deluge/completed:/downloads
|
||||||
|
- ./config/jackett:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
13
roles/torrent-docker/tasks/main.yml
Normal file
13
roles/torrent-docker/tasks/main.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
- name: Copy torrent docker files
|
||||||
|
copy:
|
||||||
|
src: torrent
|
||||||
|
dest: "{{docker_compose_files_folder}}"
|
||||||
|
- name: Create torrent .env
|
||||||
|
template:
|
||||||
|
src: torrent/.env
|
||||||
|
dest: "{{docker_compose_files_folder}}/torrent/.env"
|
||||||
|
- name: Start torrent docker project
|
||||||
|
docker_service:
|
||||||
|
project_src: "{{docker_compose_files_folder}}/torrent"
|
||||||
|
state: present
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
COMPOSE_PROJECT_NAME=deluge
|
COMPOSE_PROJECT_NAME=torrent
|
||||||
|
|
||||||
#Domains
|
#Domains
|
||||||
DELUGE_DOMAIN=deluge.banditlair.com
|
DELUGE_DOMAIN=deluge.banditlair.com
|
||||||
Loading…
Add table
Add a link
Reference in a new issue