Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

rodrigobdz
Copy link
Contributor

@rodrigobdz rodrigobdz commented Jun 1, 2024

Fixes #614.

Changelog

Add

  • Add missing instructions on how to build Docker images using Docker Compose.
  • Add Docker Compose file compose.yaml with support for .env.local. Current Dockerfile does not support .env.local.

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.
@rodrigobdz rodrigobdz changed the title Readme: Add instructions to build using Docker Compose Readme: Add instructions for Docker Compose Jun 1, 2024
@rodrigobdz rodrigobdz changed the title Readme: Add instructions for Docker Compose Add Docker Compose support Jun 1, 2024
@nsarrazin
Copy link
Collaborator

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?

@nsarrazin nsarrazin added documentation Improvements or additions to documentation CI/CD labels Jun 3, 2024
@rodrigobdz
Copy link
Contributor Author

Given that the readme is already too long, I agree. Although to be consistent, it would be advisable to move also the Quickstart and Setup sections from the readme to the wiki.

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.

@tino
Copy link

tino commented Aug 12, 2024

Note that this isn't going to work for with the local docker file. The current .env file is invalid for docker compose due to the multiline stuff with backticks.

@rodrigobdz
Copy link
Contributor Author

@tino This command should ignore the .env to avoid errors with Docker Compose:

docker compose --env-file /dev/null up --build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker build - multiple errors - documentation
3 participants