From db36aa7eae067eed31ec0bf9c6b2f324ad1fddaf Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sat, 10 Aug 2024 22:30:17 -0500 Subject: [PATCH] Add Lidarr back into the mix --- playbooks/local_dns.yml | 2 ++ playbooks/prod_web.yml | 6 ++++++ playbooks/tasks/web/lidarr.yml | 3 +++ 3 files changed, 11 insertions(+) diff --git a/playbooks/local_dns.yml b/playbooks/local_dns.yml index 5a8dbd7..8b1bada 100755 --- a/playbooks/local_dns.yml +++ b/playbooks/local_dns.yml @@ -109,6 +109,8 @@ - record: prometheus.desu.ltd value: vm-general-1.ashburn.mgmt.desu.ltd # Public media stuff + - record: lidarr.media.desu.ltd + value: vm-general-1.ashburn.mgmt.desu.ltd - record: prowlarr.media.desu.ltd value: vm-general-1.ashburn.mgmt.desu.ltd - record: sonarr.media.desu.ltd diff --git a/playbooks/prod_web.yml b/playbooks/prod_web.yml index d6ec2b0..3ca031c 100755 --- a/playbooks/prod_web.yml +++ b/playbooks/prod_web.yml @@ -29,6 +29,7 @@ - web/nextcloud.yml - web/synapse.yml # Backend web services + - web/lidarr.yml - web/prowlarr.yml - web/radarr.yml - web/sonarr.yml @@ -139,6 +140,11 @@ - "deny all" proxy_pass: http://prometheus:9090 # desu.ltd media bullshit + - name: lidarr.media.desu.ltd + directives: + - "allow {{ common_home_address }}/{{ common_home_address_mask }}" + - "deny all" + proxy_pass: http://lidarr:8686 - name: prowlarr.media.desu.ltd directives: - "allow {{ common_home_address }}/{{ common_home_address_mask }}" diff --git a/playbooks/tasks/web/lidarr.yml b/playbooks/tasks/web/lidarr.yml index 8297bee..532cba8 100644 --- a/playbooks/tasks/web/lidarr.yml +++ b/playbooks/tasks/web/lidarr.yml @@ -9,7 +9,10 @@ env: TZ: "America/Chicago" volumes: + # https://github.com/RandomNinjaAtk/arr-scripts?tab=readme-ov-file - /data/lidarr/config:/config + - /data/lidarr/custom-services.d:/custom-services.d + - /data/lidarr/custom-cont-init.d:/custom-cont-init.d - /data/shared/downloads:/data - /data/shared/media/music:/music tags: [ docker, lidarr ]