mirror of
https://github.com/ManiMatter/decluttarr.git
synced 2026-04-20 15:55:40 +02:00
Initial commit (fork from ManiMatter/mirrarr)
Carved out the queue cleaning bits from mirrarr, without taking over the instance synchronization items. Not tested yet.
This commit is contained in:
12
docker/Dockerfile
Normal file
12
docker/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.9-slim-buster
|
||||
|
||||
ENV IS_IN_DOCKER 1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY docker/requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
34
docker/Sample docker-compose.yml
Normal file
34
docker/Sample docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
# declutarr - Keeps radarr and sonarr download queues free of stalled and redundant items
|
||||
declutarr:
|
||||
build:
|
||||
context: ./own_coding/declutarr/
|
||||
dockerfile: docker/Dockerfile
|
||||
container_name: declutarr
|
||||
environment:
|
||||
TZ: Europe/Zurich
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
|
||||
# General
|
||||
LOG_LEVEL: INFO
|
||||
|
||||
# features
|
||||
REMOVE_TIMER: 10
|
||||
REMOVE_FAILED: True
|
||||
REMOVE_STALLED: True
|
||||
REMOVE_METADATA_MISSING: True
|
||||
REMOVE_ORPHANS: True
|
||||
REMOVE_UNMONITORED: True
|
||||
PERMITTED_ATTEMPTS: 3
|
||||
NO_STALLED_REMOVAL_QBIT_TAG: Don't Kill If Stalled
|
||||
|
||||
#Radarr
|
||||
RADARR_URL: http://radarr:7878
|
||||
RADARR_KEY: $RADARR_API_KEY
|
||||
|
||||
#Sonarr
|
||||
SONARR_URL: http://sonarr:8989
|
||||
SONARR_KEY: $SONARR_API_KEY
|
||||
|
||||
#qBitorrent
|
||||
QBITTORRENT_URL: http://qbittorrent:8080
|
||||
5
docker/requirements.txt
Normal file
5
docker/requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
requests
|
||||
aiohttp
|
||||
asyncio
|
||||
python-dateutil
|
||||
verboselogs
|
||||
Reference in New Issue
Block a user