added sonarr and qbittiorrent
This commit is contained in:
12
README.md
12
README.md
@@ -1 +1,11 @@
|
||||
readme only
|
||||
Steps for New Apps
|
||||
|
||||
1. Create dockercompose app directory
|
||||
2. Create docker compose file
|
||||
3. configure docker compose
|
||||
4. add compose file to master compose file
|
||||
5. add app volumes to dockerdeploy.sh and redeplotdocker.sh scripts
|
||||
6. add app config to HAVEN nginx.conf
|
||||
7. add app config to External NGINX
|
||||
8. Obtain lets encrypt cert for External NGINX
|
||||
9. add links to homepage app
|
||||
@@ -12,6 +12,8 @@ include:
|
||||
- ./radarr/docker-compose.yaml
|
||||
- ./prowlarr/docker-compose.yaml
|
||||
- ./homepage/docker-compose.yaml
|
||||
- ./qbittorrent/docker-compose.yaml
|
||||
- ./sonarr/docker-compose.yaml
|
||||
# - ./nextcloud/docker-compose-linux-io.yaml
|
||||
# - ./filebrowser/docker-compose.yaml
|
||||
# - ./utility/docker-compose.yaml
|
||||
|
||||
@@ -43,9 +43,15 @@ sudo docker volume create havenuser_tvshows
|
||||
sudo docker volume create prowlarr_config
|
||||
sudo docker volume create radarr_config
|
||||
sudo docker volume create homepage_data
|
||||
sudo docker volume create sonnar_config
|
||||
sudo docker volume create sonnar_data
|
||||
sudo docker volume create qbittorent_config
|
||||
sudo docker volume create qbittorent_data
|
||||
|
||||
sudo docker network create haven_internal
|
||||
|
||||
|
||||
|
||||
#sudo git clone http://192.168.20.213:3000/chris/dockercomposefiles.git /haven_data/dockercomposefiles
|
||||
cd /haven_data/dockercomposefiles
|
||||
echo "Setting Permissions...\c"
|
||||
|
||||
@@ -38,4 +38,4 @@ volumes:
|
||||
external: true
|
||||
havenuser_tvshows:
|
||||
name: havenuser_tvshows
|
||||
external: true
|
||||
external: true
|
||||
@@ -227,6 +227,72 @@ server {
|
||||
proxy_redirect http:// https://;
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name sonarr.hvn.nz;
|
||||
access_log /var/log/nginx/sonarr.access.log haven-debug;
|
||||
error_log /var/log/nginx/sonarr.error.log notice;
|
||||
|
||||
# client certificate
|
||||
ssl_client_certificate /step-ca_data/certs/ca-chain.crt;
|
||||
# make verification optional, so we can display a 403 message to those
|
||||
# who fail authentication
|
||||
# changed to on for troubleshooting
|
||||
ssl_verify_client on;
|
||||
|
||||
location / {
|
||||
# if the client-side certificate failed to authenticate, show a 403
|
||||
# message to the client
|
||||
# if ($ssl_client_verify != SUCCESS) {
|
||||
# return 403;
|
||||
# }
|
||||
proxy_pass http://sonarr:8989;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_redirect http:// https://;
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name qbittorrent.hvn.nz;
|
||||
access_log /var/log/nginx/qbittorrent.access.log haven-debug;
|
||||
error_log /var/log/nginx/qbittorrent.error.log notice;
|
||||
|
||||
# client certificate
|
||||
ssl_client_certificate /step-ca_data/certs/ca-chain.crt;
|
||||
# make verification optional, so we can display a 403 message to those
|
||||
# who fail authentication
|
||||
# changed to on for troubleshooting
|
||||
ssl_verify_client on;
|
||||
|
||||
location / {
|
||||
# if the client-side certificate failed to authenticate, show a 403
|
||||
# message to the client
|
||||
# if ($ssl_client_verify != SUCCESS) {
|
||||
# return 403;
|
||||
# }
|
||||
proxy_pass http://qbittorrent:8080;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
proxy_http_version 1.1;
|
||||
|
||||
proxy_redirect http:// https://;
|
||||
}
|
||||
}
|
||||
# server {
|
||||
# listen 443 ssl;
|
||||
# server_name auth.hvn.nz;
|
||||
|
||||
35
qbittorrent/docker-compose.yaml
Normal file
35
qbittorrent/docker-compose.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
qbittorrent:
|
||||
container_name: qbittorrent
|
||||
image: ghcr.io/hotio/qbittorrent
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- UMASK=002
|
||||
- TZ=Pacific/Auckland
|
||||
- WEBUI_PORTS=8080/tcp,8080/udp
|
||||
- LIBTORRENT=v1
|
||||
volumes:
|
||||
- qbittorent_config:/config
|
||||
- qbittorent_data:/data
|
||||
networks:
|
||||
- haven_internal
|
||||
networks:
|
||||
haven_internal:
|
||||
name: haven_internal
|
||||
external: true
|
||||
volumes:
|
||||
qbittorent_config:
|
||||
name: qbittorent_config
|
||||
external: true
|
||||
qbittorent_data:
|
||||
name: qbittorent_data
|
||||
external: true
|
||||
havenuser_movies:
|
||||
name: havenuser_movies
|
||||
external: true
|
||||
havenuser_tvshows:
|
||||
name: havenuser_tvshows
|
||||
external: true
|
||||
@@ -27,6 +27,10 @@ sudo docker volume remove havenuser_tvshows
|
||||
sudo docker volume remove prowlarr_config
|
||||
sudo docker volume remove radarr_config
|
||||
sudo docker volume remove homepage_data
|
||||
sudo docker volume remove sonnar_config
|
||||
sudo docker volume remove sonnar_data
|
||||
sudo docker volume remove qbittorent_config
|
||||
sudo docker volume remove qbittorent_data
|
||||
sudo docker volume create jellyfin_config
|
||||
sudo docker volume create jellyfin_cache
|
||||
sudo docker volume create havenuser_movies
|
||||
@@ -34,6 +38,10 @@ sudo docker volume create havenuser_tvshows
|
||||
sudo docker volume create prowlarr_config
|
||||
sudo docker volume create radarr_config
|
||||
sudo docker volume create homepage_data
|
||||
sudo docker volume create sonnar_config
|
||||
sudo docker volume create sonnar_data
|
||||
sudo docker volume create qbittorent_config
|
||||
sudo docker volume create qbittorent_data
|
||||
#sudo docker volume ls -q | xargs sudo docker volume rm
|
||||
sudo docker volume remove nginx_data
|
||||
# sudo docker volume remove searxng_data
|
||||
|
||||
27
sonarr/docker-compose.yaml
Normal file
27
sonarr/docker-compose.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
sonarr:
|
||||
container_name: sonarr
|
||||
image: ghcr.io/hotio/sonarr
|
||||
ports:
|
||||
- "8989:8989"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- UMASK=002
|
||||
- TZ=Pacific/Auckland
|
||||
volumes:
|
||||
- sonnar_config:/config
|
||||
- sonnar_data:/data
|
||||
networks:
|
||||
- haven_internal
|
||||
networks:
|
||||
haven_internal:
|
||||
name: haven_internal
|
||||
external: true
|
||||
volumes:
|
||||
sonnar_config:
|
||||
name: sonnar_config
|
||||
external: true
|
||||
sonnar_data:
|
||||
name: sonnar_data
|
||||
external: true
|
||||
Reference in New Issue
Block a user