You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Upgrading from V1 to V2](#upgrading-from-v1-to-v2)
16
17
-[Explanation of the settings](#explanation-of-the-settings)
17
18
-[General](#general-settings)
@@ -288,6 +289,29 @@ services:
288
289
# - $DOCKERDIR/appdata/decluttarr/logs:/app/logs # Uncomment to get logs in text file, too
289
290
# - $DATADIR/media:/media # If you use detect_deletions, add the identical mount paths that you use in your sonarr/radarr instances. This may be different to this example!
290
291
```
292
+
293
+
### Config file
294
+
295
+
Decluttarr V2 introduces a new configuration file that allows specifying
296
+
configurations in YAML instead of through environment variables. It has the
297
+
benefit of supporting multiple instances of the arrs and download clients. You
298
+
can view [config_example.yaml](./config/config_example.yaml) for an example.
299
+
300
+
The config file supports environment variables through the `!ENV` tag. For
301
+
example, if you don't want to specify API keys statically, you can pass them in
302
+
through environment variables and set your configuration to something like:
303
+
304
+
```yaml
305
+
instances:
306
+
sonarr:
307
+
- base_url: "http://sonarr.media"
308
+
api_key: !ENV SONARR_API_KEY
309
+
310
+
radarr:
311
+
- base_url: "http://radarr.media"
312
+
api_key: !ENV RADARR_API_KEY
313
+
```
314
+
291
315
## Upgrading from V1 to V2
292
316
293
317
Decluttarr v2 is a major update with a cleaner config format and powerful new features. Here's what changed and how to upgrade.
0 commit comments