Komodo & Multi-Scrobbler Config #573
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hello and glad the komodo post helped you out!
Just to clarify, I am under the impression that ENV interpolation, solely through komodo, only works for the default Environment. IE, using Variable interpolation like
Now, you can do secret interpolation into config files directly through multi-scrobbler, but this uses plain environmental variables and is unrelated to komodo variable interpolation. I borrowed the interpolation format from Komodo -- hopefully that isn't confusing -- but it's all pulled from ENVs at the container level. Example:
[
{
"name": "myLastFmClient",
"configureAs": "client",
"data": {
"apiKey": "[[MY_APIKEY]]",
"secret": "[[MY_SECRET]]",
"redirectUri": "http://localhost:9078/lastfm/callback"
}
}
]services:
multi-scrobbler:
image: foxxmd/multi-scrobbler
environment:
- MY_APIKEY=foo
- MY_SECRET=bar
# ...
volumes:
- "./config:/config"You could fill those ENVs using Komodo variables from the Environment section in a Stack, but regardless the end result needs to be environmental variables present in the container.
It is possible but I would not recommend it. Multi-scrobbler uses the mounted If you use komodo's Config Files and the file/folder is managed by komodo (via git or ui-defined) then every time you re-deploy Komodo will wipe the folder and all the persisted data in it. Your aio config would be safe but everything else would be lost. I will consider adding an ENV to enable specify a separate folder for persistent data but right now everything has to be in |
Beta Was this translation helpful? Give feedback.


Hello and glad the komodo post helped you out!
Just to clarify, I am under the impression that ENV interpolation, solely through komodo, only works for the default Environment. IE, using Variable interpolation like
MY_FOO=[[MY_BAR]]only works within Environment (and not even in Additional Env Files). I might be wrong about that or something has changed in komodo v2, but that's how I thought that worked.Now, you can do secret interpolation into config files directly through multi-scrobbler, but this uses plain environmental variables and is unrelated to komodo variable interpolation.
I borrowed the interpolation format from Komodo -- hopefull…