Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Compose File #19

Open
Nabstar3 opened this issue Jul 9, 2024 · 3 comments
Open

Docker Compose File #19

Nabstar3 opened this issue Jul 9, 2024 · 3 comments

Comments

@Nabstar3
Copy link

Nabstar3 commented Jul 9, 2024

Hello,

I wanted to suggest if a docker compose file can be used to run the container instead of a run command.

Not sure how easy it would be to create a template docker-compose.yaml file, but I'm sure this would make it very easy to integrate with existing Sonarr/Radarr/Downloader setups.

Let me know what you think

@TEANTACLES
Copy link

Would really like this too.

@adylannowak
Copy link

Build as directed, then this worked for me with the appropriate env variables filled in:

services:
   media-cleaner:
     image: media-cleaner
     container_name: media-cleaner
     environment:
       - SONARR_URL=http://sonarr:8989
       - SONARR_API_KEY=123456
       - RADARR_URL=http://radarr:7878
       - RADARR_API_KEY=123456
       - API_TIMEOUT=600
     restart: unless-stopped

@bjornlll
Copy link

For added convenience: Let Docker Compose build the image for you.

docker-compose.yaml

version: "3.8"
services:
  stalled-download-cleaner:
    build: https://github.com/MattDGTL/sonarr-radarr-queue-cleaner.git
    container_name: stalled-download-cleaner
    restart: unless-stopped
    networks:
      - shared
    env_file: .env

.env

SONARR_URL=http://sonarr:8989
SONARR_API_KEY=xxx
RADARR_URL=http://radarr:7878
RADARR_API_KEY=xxx
API_TIMEOUT=600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants