Add radarr.
This commit is contained in:
		
							parent
							
								
									3acb57680d
								
							
						
					
					
						commit
						97105c02dd
					
				
							
								
								
									
										25
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								README.md
									
									
									
									
									
								
							@ -63,6 +63,31 @@ You can also overwrite the location where deluge's configuration is stored (e.g.
 | 
			
		||||
deluge_config_volume: '{{ arrs_configuration_volume }}/deluge'
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Radarr
 | 
			
		||||
 | 
			
		||||
You can specify the image version and the port exposed:
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
radarr_image_version: 'latest'
 | 
			
		||||
radarr_host_port: 7878
 | 
			
		||||
```
 | 
			
		||||
You can also overwrite the location where radarr's configuration is stored (e.g. if you already have it installed and you want to use the Ansible role):
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
radarr_config_volume: '{{ arrs_configuration_volume }}/radarr'
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Radarr needs a place to copy the downloaded series:
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
radarr_series_volume: '/mnt/videos/Movies'
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
**Notes**:
 | 
			
		||||
 | 
			
		||||
- Depending on your settings, it will also rename your current series
 | 
			
		||||
- You need write access to that directory, so Sonarr can actually copy the files
 | 
			
		||||
 | 
			
		||||
### Sonarr
 | 
			
		||||
 | 
			
		||||
You can specify the image version and the port exposed:
 | 
			
		||||
 | 
			
		||||
@ -11,6 +11,7 @@ arrs_uid:
 | 
			
		||||
arrs_gid:
 | 
			
		||||
 | 
			
		||||
deluge_enabled: true 
 | 
			
		||||
radarr_enabled: true 
 | 
			
		||||
sonarr_enabled: true 
 | 
			
		||||
lidarr_enabled: true 
 | 
			
		||||
jackett_enabled: true
 | 
			
		||||
@ -25,6 +26,14 @@ deluge_admin_port: 8112
 | 
			
		||||
 | 
			
		||||
deluge_config_volume: '{{ arrs_configuration_volume }}/deluge'
 | 
			
		||||
 | 
			
		||||
# Radarr
 | 
			
		||||
#
 | 
			
		||||
radarr_image_version: 'latest'
 | 
			
		||||
radarr_host_port: 7878
 | 
			
		||||
 | 
			
		||||
radarr_config_volume: '{{ arrs_configuration_volume }}/radarr'
 | 
			
		||||
radarr_series_volume: '/mnt/videos/Movies'
 | 
			
		||||
 | 
			
		||||
# Sonarr
 | 
			
		||||
#
 | 
			
		||||
sonarr_image_version: 'latest'
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@ services:
 | 
			
		||||
{% if deluge_enabled %}
 | 
			
		||||
  deluge:
 | 
			
		||||
    image: "lscr.io/linuxserver/deluge:{{ deluge_image_version }}"
 | 
			
		||||
    restart: always
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    env_file:
 | 
			
		||||
      - {{ arrs_setup_path }}/env.deluge.conf
 | 
			
		||||
    volumes:
 | 
			
		||||
@ -16,10 +16,25 @@ services:
 | 
			
		||||
    networks:
 | 
			
		||||
      - arrs
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if radarr_enabled %}
 | 
			
		||||
  sonarr:
 | 
			
		||||
    image: "lscr.io/linuxserver/radarr:{{ radarr_image_version }}"
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    env_file:
 | 
			
		||||
      - {{ arrs_setup_path }}/env.radarr.conf
 | 
			
		||||
    volumes:
 | 
			
		||||
      - {{ radarr_config_volume }}:/config
 | 
			
		||||
      - {{ radarr_series_volume }}:/movies
 | 
			
		||||
      - {{ torrent_downloads_volume }}:/downloads
 | 
			
		||||
    ports:
 | 
			
		||||
      - {{ radarr_host_port }}:7878
 | 
			
		||||
    networks:
 | 
			
		||||
      - arrs
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if sonarr_enabled %}
 | 
			
		||||
  sonarr:
 | 
			
		||||
    image: "lscr.io/linuxserver/sonarr:{{ sonarr_image_version }}"
 | 
			
		||||
    restart: always
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    env_file:
 | 
			
		||||
      - {{ arrs_setup_path }}/env.sonarr.conf
 | 
			
		||||
    volumes:
 | 
			
		||||
@ -34,12 +49,15 @@ services:
 | 
			
		||||
{% if lidarr_enabled %}
 | 
			
		||||
  lidarr:
 | 
			
		||||
    image: "lscr.io/linuxserver/lidarr:{{ lidarr_image_version }}"
 | 
			
		||||
    restart: always
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    env_file:
 | 
			
		||||
      - {{ arrs_setup_path }}/env.sonarr.conf
 | 
			
		||||
    volumes:
 | 
			
		||||
      - {{ lidarr_config_volume }}:/config
 | 
			
		||||
      - {{ torrent_downloads_volume }}:/downloads
 | 
			
		||||
{% for item in lidarr_music_volumes %}
 | 
			
		||||
      - {{ item.path }}:/music/{{ item.alias }}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
    ports:
 | 
			
		||||
      - {{ lidarr_host_port }}:8686
 | 
			
		||||
    networks:
 | 
			
		||||
@ -48,15 +66,13 @@ services:
 | 
			
		||||
{% if jackett_enabled %}
 | 
			
		||||
  jackett:
 | 
			
		||||
    image: "lscr.io/linuxserver/jackett:{{ jackett_image_version }}"
 | 
			
		||||
    restart: always
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    env_file:
 | 
			
		||||
      - {{ arrs_setup_path }}/env.jackett.conf
 | 
			
		||||
    volumes:
 | 
			
		||||
      - {{ jackett_config_volume }}:/config
 | 
			
		||||
      - {{ torrent_downloads_volume }}:/downloads
 | 
			
		||||
{% for item in lidarr_music_volumes %}
 | 
			
		||||
      - {{ item.path }}:/music/{{ item.alias }}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
 | 
			
		||||
    ports:
 | 
			
		||||
      - {{ jackett_host_port }}:9117
 | 
			
		||||
    networks:
 | 
			
		||||
 | 
			
		||||
@ -4,5 +4,5 @@ DELUGE_LOGLEVEL={{ deluge_loglevel }}
 | 
			
		||||
PUID={{ arrs_uid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if arrs_gid %}
 | 
			
		||||
PUID={{ arrs_gid }}
 | 
			
		||||
PGID={{ arrs_gid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
@ -4,5 +4,5 @@ TZ={{ timezone }}
 | 
			
		||||
PUID={{ arrs_uid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if arrs_gid %}
 | 
			
		||||
PUID={{ arrs_gid }}
 | 
			
		||||
PGID={{ arrs_gid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
@ -3,5 +3,5 @@ TZ={{ timezone }}
 | 
			
		||||
PUID={{ arrs_uid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if arrs_gid %}
 | 
			
		||||
PUID={{ arrs_gid }}
 | 
			
		||||
PGID={{ arrs_gid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
							
								
								
									
										8
									
								
								templates/env.radarr.conf.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								templates/env.radarr.conf.j2
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
			
		||||
MONO_EXTERNAL_ENCODINGS=UTF-8
 | 
			
		||||
TZ={{ timezone }}
 | 
			
		||||
{% if arrs_uid %}
 | 
			
		||||
PUID={{ arrs_uid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if arrs_gid %}
 | 
			
		||||
PGID={{ arrs_gid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
@ -4,5 +4,5 @@ TZ={{ timezone }}
 | 
			
		||||
PUID={{ arrs_uid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if arrs_gid %}
 | 
			
		||||
PUID={{ arrs_gid }}
 | 
			
		||||
PGID={{ arrs_gid }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user