Add the concept of library.

This commit is contained in:
Laur Ivan 2022-09-29 22:47:28 +02:00
parent 97752ebf58
commit 23e6ee2fb5
2 changed files with 23 additions and 8 deletions

View File

@ -32,7 +32,11 @@ radarr_image_version: 'latest'
radarr_host_port: 7878 radarr_host_port: 7878
radarr_config_volume: '{{ arrs_configuration_volume }}/radarr' radarr_config_volume: '{{ arrs_configuration_volume }}/radarr'
radarr_series_volume: '/mnt/videos/Movies' radarr_upload_volume: '/mnt/videos/Movies'
radarr_library_volumes:
- {path: '/mnt/video/Gold', alias: 'gold' }
- {path: '/mnt/video/Current', alias: 'current' }
- {path: '/mnt/video/Temporary', alias: 'temporary' }
# Sonarr # Sonarr
# #
@ -40,15 +44,19 @@ sonarr_image_version: 'latest'
sonarr_host_port: 8989 sonarr_host_port: 8989
sonarr_config_volume: '{{ arrs_configuration_volume }}/sonarr' sonarr_config_volume: '{{ arrs_configuration_volume }}/sonarr'
sonarr_series_volume: '/mnt/videos/Series' sonarr_upload_volume: '/mnt/videos/Series'
sonarr_library_volumes:
- {path: '/mnt/tv/Series', alias: 'series' }
- {path: '/mnt/tv/Animation', alias: 'animation' }
- {path: '/mnt/tv/SciFi', alias: 'scifi' }
# Lidarr # Lidarr
lidarr_image_version: 'latest' lidarr_image_version: 'latest'
lidarr_host_port: 8686 lidarr_host_port: 8686
lidarr_config_volume: '{{ arrs_configuration_volume }}/lidarr' lidarr_config_volume: '{{ arrs_configuration_volume }}/lidarr'
lidarr_music_upload_volume: '/mnt/music/Reference' lidarr_upload_volume: '/mnt/music/Reference'
lidarr_music_volumes: lidarr_library_volumes:
- {path: '/mnt/music/Sonos', alias: 'sonos' } - {path: '/mnt/music/Sonos', alias: 'sonos' }
- {path: '/mnt/music/Audiophile', alias: 'audiophile' } - {path: '/mnt/music/Audiophile', alias: 'audiophile' }
- {path: '/mnt/music/Raw', alias: 'raw' } - {path: '/mnt/music/Raw', alias: 'raw' }

View File

@ -24,8 +24,11 @@ services:
- {{ arrs_setup_path }}/env.radarr.conf - {{ arrs_setup_path }}/env.radarr.conf
volumes: volumes:
- {{ radarr_config_volume }}:/config - {{ radarr_config_volume }}:/config
- {{ radarr_series_volume }}:/movies
- {{ torrent_downloads_volume }}:/downloads - {{ torrent_downloads_volume }}:/downloads
- {{ radarr_upload_volume }}:/movies
{% for item in radarr_library_volumes %}
- {{ item.path }}:/library/{{ item.alias }}
{% endfor %}
ports: ports:
- {{ radarr_host_port }}:7878 - {{ radarr_host_port }}:7878
networks: networks:
@ -39,8 +42,11 @@ services:
- {{ arrs_setup_path }}/env.sonarr.conf - {{ arrs_setup_path }}/env.sonarr.conf
volumes: volumes:
- {{ sonarr_config_volume }}:/config - {{ sonarr_config_volume }}:/config
- {{ sonarr_series_volume }}:/tv
- {{ torrent_downloads_volume }}:/downloads - {{ torrent_downloads_volume }}:/downloads
- {{ sonarr_upload_volume }}:/tv
{% for item in sonarr_library_volumes %}
- {{ item.path }}:/library/{{ item.alias }}
{% endfor %}
ports: ports:
- {{ sonarr_host_port }}:8989 - {{ sonarr_host_port }}:8989
networks: networks:
@ -55,8 +61,9 @@ services:
volumes: volumes:
- {{ lidarr_config_volume }}:/config - {{ lidarr_config_volume }}:/config
- {{ torrent_downloads_volume }}:/downloads - {{ torrent_downloads_volume }}:/downloads
{% for item in lidarr_music_volumes %} - {{ lidarr_upload_volume }}:/music
- {{ item.path }}:/music/{{ item.alias }} {% for item in lidarr_library_volumes %}
- {{ item.path }}:/library/{{ item.alias }}
{% endfor %} {% endfor %}
ports: ports:
- {{ lidarr_host_port }}:8686 - {{ lidarr_host_port }}:8686