Skip to content

Configuration

MCmoderSD edited this page Oct 31, 2026 · 1 revision

Configuration

Two places hold the settings: .env for what is secret, and docker-compose.yaml for the rest.

.env

Variable Required Meaning
DEBRID_API_KEY yes Your private Debrid-Link API key. The container stops right away without it.
ARCHIVE_PASSWORD_0 no First default password.
ARCHIVE_PASSWORD_1 no Second default password.

The default passwords are tried in the order of their numbers, and empty ones are ignored. For more than two, add a line Archive_Password_2: ${ARCHIVE_PASSWORD_2:-} (then _3, and so on) to environment: in the compose file and the matching ARCHIVE_PASSWORD_2= to .env. Put a value with spaces, # or $ in single quotes: ARCHIVE_PASSWORD_0='my pass#word'.

docker-compose.yaml

The rest is written into the compose file itself. Change it there if you need to:

Setting Default Allowed Meaning
Debrid_Request_Delay 500 0 to 60000 Pause in milliseconds between two Debrid-Link requests.
Concurrent_Downloads 3 1 to the thread count How many archive parts are downloaded at the same time.
user 1000:1000 uid:gid The user the container runs as, and so the owner of the files.
  • Debrid_Request_Delay: raise it if Debrid-Link flags the account for flooding.
  • Concurrent_Downloads: counts archive parts, not episodes. The upper limit is the number of threads the server has, which is the number of CPUs available to the container and follows a Docker CPU limit. A higher value is lowered to that number, and the log says so.
  • user: on Linux, use your own ids from id -u and id -g. On Docker Desktop (Windows and macOS) the default normally works as it is.

You can change more in the compose file:

  • The port: 8080:8080 is host:container. For port 9090 on the host, write 9090:8080.
  • The downloads folder: ./downloads:/downloads is host folder:container folder. For example, /mnt/media/anime:/downloads puts everything on another disk. Leave the part after the colon as it is.
  • The log: the level is Information. Add Logging__LogLevel__Default: Debug to environment: for more.

Downloads__Root (/downloads) and Archive__SevenZipPath (7zz) are set by the image and are not meant to be changed. The settings of ASP.NET also work under their long names, DebridLink__ApiKey, DebridLink__RequestDelayMs, Downloads__MaxConcurrency and Archive__Passwords__0; if both are set, the short name wins.

Clone this wiki locally