Managed configuration
Set or lockA value pinned by managed.json that can't be edited settings from a JSON file in /config, so a deployment starts with known values that the web interface can't change.
Why Use Managed Configuration?
- Applies starting values to a new installation, so it begins with your preferred settings.
- Marks values as read-only in the web interface, so the policy lives in one file.
- Uses the same validation as the web interface, so an invalid value stops startup instead of being ignored.
- Keeps your saved values underneath a lockA value pinned by managed.json that can't be edited, so removing the lockA value pinned by managed.json that can't be edited brings them back.
File Location and Format
The managed configurationA JSON file that presets or locks settings at deploy file lives at /config/managed.jsonA JSON file that presets or locks settings at deploy, and the control plane, which runs as PUID, must be able to read it. A file owned by PUID works.
{
"version": 1,
"settings": {
"transmission.downloadQueueSize": {
"mode": "seed",
"value": 3
},
"transmission.downloadQueueEnabled": {
"mode": "lock",
"value": true
}
}
}
version— Must be1.settings— Maps registered keys from the Settings reference to an entry with amodeand avalue.mode— Eitherseedorlock.value— A JSON value of the setting's type, such as a number,trueorfalse, a string, or a list of strings.
The file holds settings only, so VPN credentials, other secrets, and notification destinationsWhere an alert goes, such as ntfy, Telegram, or email can't go in it.
Seeds and Locks
| Mode | Effect |
|---|---|
seed | Writes the value once, when nothing is saved for that setting yet. The settings API reports the source managed-seed until someone changes it in the web interface. |
lock | Overrides the saved value while the file contains it. The row shows LockedA value pinned by managed.json that can't be edited and a read-only control, and the settings API reports the source managed-lock. |
Precedence
- A lockA value pinned by managed.json that can't be edited wins over everything else.
- Without a lockA value pinned by managed.json that can't be edited, a saved value is used, whether it came from the web interface or a seedA starting value you can still change later.
- Without a saved value, the built-in default is used.
Validation and Startup
The container reads the file at every start, so changes to it apply at the next start:
docker compose restart app
The container stops during startup when the file:
- Can't be read, or isn't valid JSON.
- Has unknown fields or extra data after the JSON object.
- Uses a
versionother than1. - Uses a
modeother thanseedorlock. - Names an unknown setting, or holds a value the setting doesn't allow.
The reason appears in the error field of the control API stopped log line, such as unsupported managed configuration version: 2 or setting transmission.downloadQueueSize: must be between 1 and 1000.
Removing a Lock
- Delete the setting's entry from the file, or delete the whole file.
- Restart the container.
The value you saved earlier comes back, or the built-in default when nothing was saved.
Limits
- Version 1 only — The file format has a single version.
- Settings only — Secrets can't be managed through the file.
- Default profile folder —
transmission.downloadDirectoryseeds or locks the Default profile's Download folder. A lock makes that field read-only in the profile editor, and an unlocked value applies without a Transmission restart. - Other profile fields — Labels, paused state, seeding, speed limits, priority, peer limit, and queue position belong to the profile record rather than the settings registry, so
managed.jsoncan't seed or lock them. - VPN connection details — Each connection stores its provider, tunnel, endpoints, DNS, retry interval, and peer port outside the settings registry, so
managed.jsoncan't seed or lock them. - Remote appsA Transmission app on your phone or desktop switch — A
trueseed or lockA value pinned by managed.json that can't be edited forrpc.compatibilityEnabledrequires at least one VPN connection, but it does not require an RPC login. Without a VPN connection, startup stops; with no logins, the proxy accepts no sign-ins. A lock also makes the RPC proxyMakes all connections look like one Transmission to apps switch fail withA changed setting is locked by managed configuration.