Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
80 Move torrent stack services
Browse files Browse the repository at this point in the history
  • Loading branch information
veerendra2 committed Aug 29, 2023
1 parent 1eacded commit baf2e54
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 50 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
---
# https://dust6765.gitbook.io/raspberrypi-home-server/services/torrent-stack
version: "3.8"
version: 3.8

networks:
network_private:
external: true

volumes:
jackett:
driver: local
driver_opts:
o: bind
type: none
device: /media/disk2/volumes/jackett

services:
jackett:
image: linuxserver/jackett:arm64v8-0.21.568
Expand All @@ -33,12 +24,11 @@ services:
- traefik.http.services.jackett.loadbalancer.server.port=9117
hostname: jackett
env_file:
- ./jackett/.env_jackett
- .vpn_ip
- .env_jackett
networks:
- network_private
volumes:
- jackett:/config
- ./jackett/ServerConfig.json:/config/Jackett/ServerConfig.json
- ./ip-test.sh:/opt/ip-test.sh
- ./config/ServerConfig.json:/config/Jackett/ServerConfig.json
# Change below
- /media/disk2/volumes/jackett:/config
- /media/disk2/downloads/torrents:/opt/torrents
1 change: 1 addition & 0 deletions services/qbittorrent/.vpn_ip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VPN_IP=144.24.143.4
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
# https://dust6765.gitbook.io/raspberrypi-home-server/services/torrent-stack
version: "3.8"

networks:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
---
# https://dust6765.gitbook.io/raspberrypi-home-server/services/torrent-stack
version: "3.8"
version: 3.8

networks:
network_private:
external: true

volumes:
radarr:
driver: local
driver_opts:
o: bind
type: none
device: /media/disk2/volumes/radarr

services:
radarr:
image: linuxserver/radarr:arm64v8-4.6.4
Expand All @@ -33,17 +24,11 @@ services:
- traefik.http.services.radarr.loadbalancer.server.port=7878
hostname: radarr
env_file:
- ./radarr/.env_radarr
- .vpn_ip
- .env_radarr
networks:
- network_private
volumes:
- radarr:/config
- ./radarr/config.xml:/config/config.xml
- ./ip-test.sh:/opt/ip-test.sh
- ./config/config.xml:/config/config.xml
# Change below
- /media/disk2/volumes/radarr:/config
- /media/disk2/downloads:/downloads
# healthcheck:
# test: ["CMD", "/opt/ip-test.sh"]
# interval: 2m
# timeout: 10s
# retries: 3
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
# https://dust6765.gitbook.io/raspberrypi-home-server/services/torrent-stack
version: "3.8"
version: 3.8

networks:
network_private:
Expand Down Expand Up @@ -33,17 +32,11 @@ services:
- traefik.http.services.sonarr.loadbalancer.server.port=8989
hostname: sonarr
env_file:
- ./sonarr/.env_sonarr
- .vpn_ip
- .env_sonarr
networks:
- network_private
volumes:
- sonarr:/config
- ./sonarr/config.xml:/config/config.xml
- ./ip-test.sh:/opt/ip-test.sh
# Change below
- /media/disk2/volumes/sonarr:/config
- /media/disk2/downloads:/downloads
# healthcheck:
# test: ["CMD", "/opt/ip-test.sh"]
# interval: 2m
# timeout: 10s
# retries: 3
1 change: 0 additions & 1 deletion tasks/deploy-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
name: traefik
compose:
- "{{ [services_base_dir_location, 'traefik', 'network.yml'] | path_join }}"
when: "'traefik' in services"

- name: Deploy service stacks
community.docker.docker_stack:
Expand Down
8 changes: 6 additions & 2 deletions vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ services:
- nextcloud
# - pihole
- portainer
- traefik
- torrent
- qbittorrent
- radarr
- sonarr
- rest-server
- vaultwarden
- searxng

# Service's docker stack files copies in this location. It should end with slash
services_base_dir_location: /opt/services/
Expand Down

0 comments on commit baf2e54

Please sign in to comment.