Worked on radarr role

This commit is contained in:
Mike Wilson
2023-01-05 11:22:40 -05:00
parent b0574d9c07
commit c2edf3544a
7 changed files with 47 additions and 10 deletions

View File

@@ -0,0 +1 @@
version_tag: latest

View File

@@ -0,0 +1,7 @@
- name: Create install directory
file:
path: "{{ install_directory }}/radarr"
state: directory
owner: "{{ docker_user }}"
mode: "{{ docker_compose_directory_mask }}"
become: true

View File

@@ -0,0 +1,24 @@
version: "{{ docker_compose_version }}"
networks:
traefik:
external: true
services:
radarr:
container_name: radarr
image: lscr.io/linuxserver/radarr:latest
restart: unless-stopped
networks:
- traefik
environment:
- PUID={{ primary_uid }}
- PGID={{ primary_gid }}
- TZ={{ timezone }}
volumes:
- "{{ data_dir }}/radarr:/config"
- "{{ media_storage_mnt }}/data:/data"
labels:
traefik.enable: true
traefik.http.routers.radarr.rule: "Host(`radarr.local.{{ personal_domain }}`)"
traefik.http.routers.radarr.middlewares: lan-whitelist@file