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

[Sticky Thread| Docker Compose Examples #173

Closed
markhaines opened this issue Oct 17, 2024 · 4 comments
Closed

[Sticky Thread| Docker Compose Examples #173

markhaines opened this issue Oct 17, 2024 · 4 comments

Comments

@markhaines
Copy link

Can I offer this as an updated docker compose example for the instructions page - tested as working with Dockge (needs RUN_PERIODIC_RESCANS structured on a single line and uses - & = environment variable syntax:

version: "3.8"
services:
decluttarr:
container_name: decluttarr
image: ghcr.io/manimatter/decluttarr:latest
restart: always
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Europe/London
- SSL_VERIFICATION=True
- LOG_LEVEL=INFO
- REMOVE_TIMER=10
- REMOVE_FAILED=True
- REMOVE_FAILED_IMPORTS=True
- REMOVE_METADATA_MISSING=True
- REMOVE_MISSING_FILES=True
- REMOVE_ORPHANS=True
- REMOVE_SLOW=True
- REMOVE_STALLED=True
- REMOVE_UNMONITORED=True
- PERMITTED_ATTEMPTS=3
- NO_STALLED_REMOVAL_QBIT_TAG=Protected
- MIN_DOWNLOAD_SPEED=50
- RUN_PERIODIC_RESCANS={"SONARR":{"MISSING":true,"CUTOFF_UNMET":true,"MAX_CONCURRENT_SCANS":10,"MIN_DAYS_BEFORE_RESCAN":7},"RADARR":{"MISSING":true,"CUTOFF_UNMET":true,"MAX_CONCURRENT_SCANS":10,"MIN_DAYS_BEFORE_RESCAN":7}}
- FAILED_IMPORT_MESSAGE_PATTERNS=["Not a Custom Format upgrade for
existing", "Not an upgrade for existing"]
- RADARR_URL=http(s)://:
- RADARR_KEY=
- SONARR_URL=http(s)://:
- SONARR_KEY=
- QBITTORRENT_URL=http(s)://:
- QBITTORRENT_USERNAME=
- QBITTORRENT_PASSWORD=

@ManiMatter ManiMatter changed the title Updated Docker Compose Example Docker Compose Example Dockge Oct 17, 2024
@ManiMatter
Copy link
Owner

ManiMatter commented Oct 17, 2024

For anyone: Please share working docker-compose examples

There are different dialects for yaml. Please feel free to add more examples of docker composes that work for you to this thread that may help others.

Please do not use it to ask questions about docker-composes (create own issues if you don't find the answer to your specific problem in this thread or other closed issues)

@bryancowell
Copy link

Thanks @markhaines

@ManiMatter ManiMatter changed the title Docker Compose Example Dockge [Sticky Thread| Docker Compose Examples Oct 28, 2024
@gregeeh
Copy link

gregeeh commented Nov 15, 2024

Here's mind that works in Portainer:

---
services:
  decluttarr:
    image: ghcr.io/manimatter/decluttarr:latest
    container_name: decluttarr
    restart: always
    environment:
      TZ: Australia/Sydney
      PUID: 1000
      PGID: 100

      ## General
      # TEST_RUN=True
      # SSL_VERIFICATION=False
      LOG_LEVEL: INFO

      ## Features

      REMOVE_TIMER: 10
      REMOVE_FAILED: true
      REMOVE_FAILED_IMPORTS: true
      REMOVE_METADATA_MISSING: true
      REMOVE_MISSING_FILES: true
      REMOVE_ORPHANS: true
      REMOVE_SLOW: true
      REMOVE_STALLED: true
      REMOVE_UNMONITORED: true
      RUN_PERIODIC_RESCANS: ' { "SONARR": {"MISSING": true, "CUTOFF_UNMET": true,
        "MAX_CONCURRENT_SCANS": 3, "MIN_DAYS_BEFORE_RESCAN": 7}, "RADARR":
        {"MISSING": true, "CUTOFF_UNMET": true, "MAX_CONCURRENT_SCANS": 3,
        "MIN_DAYS_BEFORE_RESCAN": 7} }'
      
      # Feature Settings
      PERMITTED_ATTEMPTS: 3
      NO_STALLED_REMOVAL_QBIT_TAG: Don't Kill
      MIN_DOWNLOAD_SPEED: 100
      FAILED_IMPORT_MESSAGE_PATTERNS: '
         [
            "Not a Custom Format upgrade for existing",
            "Not an upgrade for existing",
            "Invalid video file"
         ]'
      
      ## Radarr
      RADARR_URL: $R_URL
      RADARR_KEY: $RADARR_API_KEY

      ## Sonarr
      SONARR_URL: $S_URL
      SONARR_KEY: $SONARR_API_KEY

      ## Qbittorrent
      QBITTORRENT_URL: $Q_URL
      QBITTORRENT_USERNAME: $USERNAME
      QBITTORRENT_PASSWORD: $PASSWD

@mpking828
Copy link

gregeeh's worked for my Synology using Container Manager

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

5 participants