mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #245] [MERGED] Add Docker machinery for ready-made images #349
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/245
Author: @masci
Created: 9/9/2024
Status: ✅ Merged
Merged: 9/12/2024
Merged by: @logan-markewich
Base:
main← Head:docker📝 Commits (10+)
36843dbfirst draft of docker build for default images690af05remove unneeded code, move folders up one leveld0f9d7bisolate boilerplate to a predefined compose filee6954fflinting9c873f2typo26684e6make entrypoint smarter0da3d76fix bug5b3ed3cpass extras at build time3b04c01redis base compose64f619badd readme📊 Changes
33 files changed (+437 additions, -144 deletions)
View changed files
➕
.github/workflows/docker_release.yml(+51 -0)➕
docker/Dockerfile.base(+39 -0)➕
docker/README.md(+62 -0)➕
docker/docker-bake.hcl(+32 -0)➕
docker/docker-compose-kafka.yml(+52 -0)➕
docker/docker-compose-rabbitmq.yml(+46 -0)➕
docker/docker-compose-redis.yml(+39 -0)➕
docker/docker-compose-simple.yml(+39 -0)➕
docker/entrypoint.py(+51 -0)📝
examples/python_fullstack/README.md(+15 -8)📝
examples/python_fullstack/docker-compose.yml(+8 -54)📝
examples/python_fullstack/frontend/.gitignore(+0 -0)📝
examples/python_fullstack/frontend/assets/favicon.ico(+0 -0)📝
examples/python_fullstack/frontend/dockerfile(+0 -0)📝
examples/python_fullstack/frontend/frontend/__init__.py(+0 -0)📝
examples/python_fullstack/frontend/frontend/frontend.py(+0 -0)📝
examples/python_fullstack/frontend/frontend/state.py(+0 -0)📝
examples/python_fullstack/frontend/frontend/style.py(+0 -0)➕
examples/python_fullstack/frontend/requirements.txt(+2 -0)📝
examples/python_fullstack/frontend/rxconfig.py(+0 -0)...and 13 more files
📄 Description
This PR introduces the machinery needed to build (and possibly publish) basic docker images for the control plane and the message queue. This would greatly simplify the deployment of custom workflows, which would not need to carry around the python code needed to setup llama_deploy. For example, the full-stack example would go from this:
to this
Additionally, we could provide a pre-defined
docker-compose.ymlfile containing the boilerplate needed for running llama_deploy so that users can just do in their compose files (if this is interesting, we can find a way to easily make available the boilerplate compose file):🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.