I have a few addons installed that sometimes require configuration, i.e. gitea (app.ini), vaultwarden (config.json)
I have a VSCode installed that allows me to drop to the CLI. Where can I find and edit the files mentioned above?
I have a few addons installed that sometimes require configuration, i.e. gitea (app.ini), vaultwarden (config.json)
I have a VSCode installed that allows me to drop to the CLI. Where can I find and edit the files mentioned above?
In their docker containers.
However all the configuration you can do is available in the add-on Configuration tab.
I see, is there a way to get access into the docker containers?
The thing with containers is that all these things are ‘contained’. The idea here is you can instantiate a new container without losing your stuff as you are not storing it in there.
I like addons that overwrite the config.json
style files with one kept in your config
directory (like the Transmission add-on by @alexbelgium) which saves a lot of fiddling. But even then you might have things you would like to have done differently.
I would suggest learning a bit about how this works and maybe contributing a solution to your add-ons with a Pull Request, then we can all use it
Sure but it would be pointless. The next time you update the addon all your changes would be lost.
Use the addon configuration page. If the option you want is not there you will have to contact the addon developer and create a feature request.
Hi, either the dev exposes the config files in a shared directory (such as /config
or /share
), or you can use the portainer addon to access the /data
folder within the container. Here is a guide how to use portainer for that.
As mentioned by tom_I, any data not in one of those folders is lost upon addon restart
Thanks, let me try it out… gitea also has alot of CLI only commands that I have no idea how to get those going.
Yes, I understand the concept of containers… actually on my current gitea instance, I use docker volumes, would you be able to have them on a shared directory with volumes?
According to my knowledge, HA doesn’t support custom volumes. You need to use the ones mapped by default. For CLI, you can also use portainer to execute those.
ok, got it… thank you for your help and that big collection of add-ons!