-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Docker Compose support #1238
base: main
Are you sure you want to change the base?
Conversation
Add compose.yaml with Mongo and Chat UI services. Includes support for .env.local file.
Add additional instructions in case .env.local is not present.
I'd prefer to have deployment examples in the docs rather than in the repo directly as everyone might have different deployments. Maybe we could add it to the wiki wdyt? |
Given that the readme is already too long, I agree. Although to be consistent, it would be advisable to move also the I encountered several issues in these two sections due to my ARM-based architecture and suppose several users might have faced this. That's the motivation behind this ticket. |
Note that this isn't going to work for with the local docker file. The current |
@tino This command should ignore the docker compose --env-file /dev/null up --build |
@rodrigobdz is there another way to pass the models/prompts to chat-ui if not through the .env? I'm not seeing anything, so i'm assuming this would require some additional args to chat-ui to allow loading json files or some other configuration? Something like:
Or am I missing something that would facilitate this? i'm trying to build a compose I can distribute to my team, and i'd really like to use chat-ui, but so far i've had to resort to using less-awesome interfaces until this gets fixed. |
@morganhein Is there an argument against using Chat UI depends on Line 6 in 795bf39
Line 1 in 795bf39
|
It does not work with docker compose? Unless I'm missing something? You can't pass an env.local to compose that has backticks that have multiline strings in it. Same as the commentor above mentioning this about the .env file. |
It should work with suggestion made to the commentor above: #1238 (comment) |
This is not me being passive aggressive, but have you tested this functionality and it worked? Because I can't get it to work at all. So either there's a misconfiguration on my end, or we're talking past each other.
Here's the docker compose:
And here's my full setup, if it's helpful: https://github.com/morganhein/sponge If you pull that repo down, and run Lastly, if i'm being dense i'm sorry. Thanks for the help and your work here. Cheers. |
It runs with the changes proposed in morganhein/sponge#1. Two changes:
Please let me know if it works. |
Yes, mounting the env was the missing part. Thanks. |
Fixes #614.
Changelog
Add
compose.yaml
with support for.env.local
. Current Dockerfile does not support.env.local
.