Best way to customize Containers

I wonder what the best way is to make some custom tweaks to an app in a way that will be persistent between updates.

Specifically, I want to add json as an accepted input format for my Searxng container so that OpenwebUI can use it as a search engine (step 8 in this config guide).

Using a custom-app / YAML is always the easiest, but then you manage everything yourself including updates

You can add Environment Variables to any app in the catalog, but doing things that modify the containers/app images won’t be persisted unless you run some script after updates and etc, so generally most poeple don’t use the catalog for complicated things like this

If you map these volumes, you can edit that settings.xml file mentioned, no?
/mnt/pool/dockerdataset/searxng/config/:/etc/searxng/
/mnt/pool/dockerdataset/searxng/data/:/var/cache/searxng/

Data in mapped volumes (like settings.xml) persist on the host.

I could! :slight_smile: Thanks.

1 Like