Add navidrome too

This commit is contained in:
Salt 2024-08-10 22:42:06 -05:00
parent db36aa7eae
commit 227f0a5df5
3 changed files with 24 additions and 0 deletions

View File

@ -109,6 +109,8 @@
- record: prometheus.desu.ltd - record: prometheus.desu.ltd
value: vm-general-1.ashburn.mgmt.desu.ltd value: vm-general-1.ashburn.mgmt.desu.ltd
# Public media stuff # Public media stuff
- record: music.desu.ltd
value: vm-general-1.ashburn.mgmt.desu.ltd
- record: lidarr.media.desu.ltd - record: lidarr.media.desu.ltd
value: vm-general-1.ashburn.mgmt.desu.ltd value: vm-general-1.ashburn.mgmt.desu.ltd
- record: prowlarr.media.desu.ltd - record: prowlarr.media.desu.ltd

View File

@ -30,6 +30,7 @@
- web/synapse.yml - web/synapse.yml
# Backend web services # Backend web services
- web/lidarr.yml - web/lidarr.yml
- web/navidrome.yml
- web/prowlarr.yml - web/prowlarr.yml
- web/radarr.yml - web/radarr.yml
- web/sonarr.yml - web/sonarr.yml
@ -140,6 +141,11 @@
- "deny all" - "deny all"
proxy_pass: http://prometheus:9090 proxy_pass: http://prometheus:9090
# desu.ltd media bullshit # desu.ltd media bullshit
- name: music.desu.ltd
directives:
- "allow {{ common_home_address }}/{{ common_home_address_mask }}"
- "deny all"
proxy_pass: http://navidrome:4533
- name: lidarr.media.desu.ltd - name: lidarr.media.desu.ltd
directives: directives:
- "allow {{ common_home_address }}/{{ common_home_address_mask }}" - "allow {{ common_home_address }}/{{ common_home_address_mask }}"

View File

@ -0,0 +1,16 @@
# vim:ft=ansible:
- name: docker deploy navidrome
docker_container:
name: navidrome
image: deluan/navidrome:latest
user: 911:911
env:
ND_BASEURL: "https://music.desu.ltd"
ND_LOGLEVEL: "info"
networks:
- name: web
aliases: [ "navidrome" ]
volumes:
- /data/navidrome/data:/data
- /data/shared/media/music:/music:ro
tags: [ docker, navidrome ]