diff --git a/compose/media/automation/lidarr/compose.yaml b/compose/media/automation/lidarr/compose.yaml new file mode 100644 index 0000000..8a9ece5 --- /dev/null +++ b/compose/media/automation/lidarr/compose.yaml @@ -0,0 +1,49 @@ +# Lidarr - Music collection manager +# Docs: https://wiki.servarr.com/lidarr + +services: + lidarr: + container_name: lidarr + image: lscr.io/linuxserver/lidarr:latest + env_file: + - .env + volumes: + - ./config:/config + # Media library + - /mnt/media/music:/media/music + # Download folders + - /mnt/media/downloads:/downloads + - /mnt/media/complete:/complete + - /mnt/media/incomplete:/incomplete + restart: unless-stopped + networks: + - homelab + labels: + # Traefik + traefik.enable: true + traefik.docker.network: homelab + + # Web UI + traefik.http.routers.lidarr.rule: Host(`lidarr.fig.systems`) + traefik.http.routers.lidarr.entrypoints: websecure + traefik.http.routers.lidarr.tls.certresolver: letsencrypt + traefik.http.services.lidarr.loadbalancer.server.port: 8686 + + # SSO Protection + traefik.http.routers.lidarr.middlewares: tinyauth + + # Homarr Discovery + homarr.name: Lidarr (Music) + homarr.group: Automation + homarr.icon: mdi:music-box-multiple + + healthcheck: + test: ["CMD-SHELL", "curl -f http://localhost:8686/ping || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s + +networks: + homelab: + external: true diff --git a/compose/media/automation/prowlarr/compose.yaml b/compose/media/automation/prowlarr/compose.yaml new file mode 100644 index 0000000..ac26057 --- /dev/null +++ b/compose/media/automation/prowlarr/compose.yaml @@ -0,0 +1,43 @@ +# Prowlarr - Indexer Manager for *arr Apps +# Docs: https://wiki.servarr.com/prowlarr + +services: + prowlarr: + container_name: prowlarr + image: lscr.io/linuxserver/prowlarr:latest + env_file: + - .env + volumes: + - ./config:/config + restart: unless-stopped + networks: + - homelab + labels: + # Traefik + traefik.enable: true + traefik.docker.network: homelab + + # Web UI + traefik.http.routers.prowlarr.rule: Host(`prowlarr.fig.systems`) + traefik.http.routers.prowlarr.entrypoints: websecure + traefik.http.routers.prowlarr.tls.certresolver: letsencrypt + traefik.http.services.prowlarr.loadbalancer.server.port: 9696 + + # SSO Protection + traefik.http.routers.prowlarr.middlewares: tinyauth + + # Homarr Discovery + homarr.name: Prowlarr (Indexers) + homarr.group: Automation + homarr.icon: mdi:cloud-search + + healthcheck: + test: ["CMD-SHELL", "curl -f http://localhost:9696/ping || exit 1"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s + +networks: + homelab: + external: true