-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 script to generate docker-compose.yaml
for Qdrant cluster
#1489
Conversation
I've cancelled all workflows, cause there is no reason to run them now. ¯\_(ツ)_/¯ |
ea4609d
to
a678d0e
Compare
docker-compose.yaml
to run Qdrant cluster of 100 nodesdocker-compose.yaml
for Qdrant cluster
@timvisee note there's also a small code change in this PR (though, it's a mostly useful one). |
I noticed. I didn't think there was a need to remove it. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚲
…f specified number of nodes
…uster of specified number of nodes [skip ci]
Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>
f9081a3
to
57ed662
Compare
* Add a simple script to generate `docker-compose.yaml` for a cluster of specified number of nodes * Improve service error from `RequestError` conversion * fixup! Improve service error from `RequestError` conversion [skip ci] * fixup! Add a simple script to generate `docker-compose.yaml` for a cluster of specified number of nodes [skip ci] * Add CPU limit to the `docker-compose-gen.sh` [skip ci] * fixup! Add CPU limit to the `docker-compose-gen.sh` [skip ci] * Move docker-compose generator script into tools directory, add docs * Apply suggestions from code review Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com> * Simplify error message constructing --------- Co-authored-by: timvisee <tim@visee.me> Co-authored-by: Tim Visée <tim+github@visee.me>
Edited by @timvisee:
This adds a script to generate a Docker compose configuration to easily start a small cluster in Docker.
I've been using this a few times, so I decided to make it ready to merge into our main repo.
Example usage:
./tools/generate_docker_compose_cluster.sh 5 > docker-compose.yaml docker-compose up