Super-simple single-file docker compose #5617
jyio
started this conversation in
Feature Requests & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thank you for sharing this amazing piece of software.
I struggled to get it working because my workflow does not support the use of environment files and bind mounts. After reading the recommended compose/environment files, taking some hints from this Coolify discussion, and throwing spaghetti at the wall... this is what stuck for me:
To mitigate repetition without using an environment file, we use anchors and aliases. To avoid the bind-mounted config file, we allow it to live in its own volume as
/config/librechat.yaml
. Health checks are optional. You should change the secrets before using, obviously. I've dispensed with the UID/GID settings because I already have the userns remapped, and I have some additional environment variables to enable SSO, but that's out of scope here.I hope this could be a starting point for a more flexible deployment template.
Beta Was this translation helpful? Give feedback.
All reactions