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 ]