🧩 Question: Mount custom logo for LibreChat app
-
Hello,
Is there a way to change the logo inside the LibreChat app on Cloudron?
I tried to mount a custom folder containing my logo to the specific assets directory used by LibreChat:
/app/code/librechat/client/dist/assets
However, it seems that in Cloudron the mount path is automatically set to
/media/{volume_name}
and cannot be customized in the UI.This makes it impossible to override the app’s static assets (like the logo), since LibreChat doesn’t read files from
/media
.Is there any supported way (or workaround) to:
- Mount a volume to a custom path (e.g.
/app/code/librechat/client/dist/assets
), or - Persistently override static files like the logo inside the LibreChat container?
Thanks in advance
- Mount a volume to a custom path (e.g.
-
Hello @Youssef
Changing the logo is currently not possible.
Even LibreChat themselves write in all tickets/discussions that you will need to build your own docker image for this.What could be a solution is the following.
We move/app/code/librechat/client/dist/assets
to/run/librechat/assets
and a logic when/app/data/custom-assets
exists to copy everything from/app/data/custom-assets
to/run/librechat/assets
.With this approach, the files inside
/app/data/custom-assets
would have to be named the exact same way as in/run/librechat/assets
.
I will tag this topic as a feature-request and we might add this in the future.
-
As a general policy on our side, we only support such customizations if upstream has some documented and support way to do so. Otherwise it becomes impossible for us to test updates. So you can always build your own package from our package repo and update and test your app instance yourself then.
Otherwise might be good to let upstream know that there is further interest in supporting this.