-
Notifications
You must be signed in to change notification settings - Fork 20
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
Docker deployment #503
Comments
As mentioned on VSB Discord, I am taking this task. (just noticing -> no one works on this in paralell). |
I am thinking about the possible solutions: 1. DinD with Sysbox Runtime:A classic Docker-in-Docker (DinD) approach with a secure implementation. Pros:
Cons:
2. DooD (Docker out of Docker):Here, we run the Docker CLI inside the container, but the daemon remains on the host. We would be creating sibling containers, unlike the child containers in solution 1. Pros:
Cons:
@Kobzol any opinion? |
Sorry, I didn't have time to look into this yet. First we need to get the Docker change merged, then somehow deploy the Docker version on a new server and then we can start looking into DinD. At a glance, I would probably choose DooD, to avoid complexity with managing the local images or rebuilding them all the time. |
We would like to have the option to deploy Kelvin fully inside Docker, ideally with a single command, if possible. We want to have the following services running inside Docker, networked together:
This corresponds to the architecture described in docs.
Ideally, it should be possible to deploy everything with a single
docker-compose.yml
file. All configuration (directory/file paths, ports etc.) should ideally be configurable in the docker-compose file, through environment variables loaded from an.env
file. You can find an example of that in the existing docker-compose.yml file.Here is a broad TODO list of things (in almost arbitrary order) that we need to do in order to make this possible:
docker-compose.yml
frontend.js
,frontend.css
files and thedolos
directory in the final Docker imagelocal_settings.py
, which will be used to override configuration for the Django backend running inside of Dockerpython3 manage.py migrate
everytime the whole Docker deployment startsIf there is a better way to do this, other than docker-compose, we can also try it. But please no Kubernetes :)
The text was updated successfully, but these errors were encountered: