Added tautulli to public and torrentleech downloader

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-05-01 08:17:26 +02:00
parent c193374444
commit 76a5ef1781
6 changed files with 111 additions and 8 deletions

View File

@@ -60,6 +60,10 @@
tags:
- qbit
- include_tasks: qbit_private.yml
tags:
- qbit_private
- name: Copy the compose file
template:
src: templates/aya01/compose.yaml

View File

@@ -7,7 +7,8 @@
mode: '775'
state: directory
loop:
- "{{ qbit_config }}"
- "{{ qbit_remote_config }}"
- "{{ qbit_remote_config }}/openvpn"
- "{{ qbit_downloads }}"
become: true

View File

@@ -226,7 +226,7 @@ services:
container_name: sonarr
restart: unless-stopped
depends_on:
- pihole
- prowlarr
networks:
- net
environment:
@@ -249,7 +249,7 @@ services:
container_name: radarr
restart: unless-stopped
depends_on:
- pihole
- prowlarr
networks:
- net
environment:
@@ -272,7 +272,7 @@ services:
container_name: lidarr
restart: unless-stopped
depends_on:
- pihole
- prowlarr
networks:
- net
environment:
@@ -340,7 +340,9 @@ services:
restart: unless-stopped
privileged: true
depends_on:
- pihole
- sonarr
- radarr
- lidarr
networks:
- net
ports:
@@ -363,12 +365,43 @@ services:
- "traefik.http.routers.{{ qbit_host }}.rule=Host(`{{ qbit_host }}.{{ aya01_host }}.{{ local_domain }}`)"
- "traefik.http.services.{{ qbit_host }}.loadbalancer.server.port=8080"
qbittorrentvpnprivate:
image: dyonr/qbittorrentvpn
container_name: {{ qbit_private_host }}
restart: unless-stopped
privileged: true
depends_on:
- sonarr
- radarr
- lidarr
networks:
- net
ports:
- "{{ qbit_private_port }}:8080"
environment:
- PUID={{ puid }}
- PGID={{ pgid }}
- TZ={{ timezone }}
- VPN_TYPE={{ qbit_type }}
- LAN_NETWORK={{ qbit_lan }}
- NAME_SERVERS={{ qbit_dns }}
- ENABLE_SSL={{ qbit_ssl }}
- VPN_USERNAME={{ vault_qbit_vpn_user }}
- VPN_PASSWORD={{ vault_qbit_vpn_password }}
volumes:
- {{ qbit_private_remote_config }}:/config
- {{ qbit_downloads }}:/downloads
labels:
- "traefik.enable=true"
- "traefik.http.routers.{{ qbit_private_host }}.rule=Host(`{{ qbit_private_host }}.{{ aya01_host }}.{{ local_domain }}`)"
- "traefik.http.services.{{ qbit_private_host }}.loadbalancer.server.port=8080"
tautulli:
image: lscr.io/linuxserver/tautulli:latest
container_name: tautulli
restart: unless-stopped
depends_on:
- pihole
- plex
networks:
- net
environment:

View File

@@ -0,0 +1,34 @@
## Version 2023/02/05
# make sure that your tautulli container is named tautulli
# make sure that your dns has a cname set for tautulli
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name {{ tautulli_host }}.{{ remote_domain }};
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/resolver.conf;
proxy_pass http://{{ tautulli_host }}.{{ aya01_host }}.{{ local_domain }};
}
location ~ (/tautulli)?/api {
include /config/nginx/resolver.conf;
proxy_pass http://{{ tautulli_host }}.{{ aya01_host }}.{{ local_domain }};
}
location ~ (/tautulli)?/newsletter {
include /config/nginx/resolver.conf;
proxy_pass http://{{ tautulli_host }}.{{ aya01_host }}.{{ local_domain }};
}
location ~ (/tautulli)?/image {
include /config/nginx/resolver.conf;
proxy_pass http://{{ tautulli_host }}.{{ aya01_host }}.{{ local_domain }};
}
}