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

Is it possible to just have the main container check to see if the setup is required to be ran? #1140

Open
Leopere opened this issue Jan 4, 2024 · 3 comments

Comments

@Leopere
Copy link

Leopere commented Jan 4, 2024

bootstrap containers are horrible and very inconvenient. they're incompatible with lots of docker deployment systems as well is it possible to just have start.sh or something added to the main container that can test the requisite things in the database or whatever to determine if its necessary to run the setup and if its already good just run the container.

@mockdeep
Copy link
Collaborator

mockdeep commented Jan 5, 2024

@Leopere thanks for the feedback. I'm not super familiar with docker, so it's a little hard for me to imagine how this might look. If you are willing to put up a PR that makes this happen, I think it would be easier to discuss it there. @guidopetri has been putting some work into our docker support, so he might have some thoughts, too.

@guidopetri
Copy link
Collaborator

We had a lot of discussion about this in #1091 , and settled on that idea. I'm curious why you say:

bootstrap containers are horrible and very inconvenient

I can see why they're incompatible with docker deployment systems, but for someone with that depth of knowledge with docker, isn't it easier to set up your own docker compose file?

@Leopere
Copy link
Author

Leopere commented Jan 8, 2024

It just means I’ll have to build a staging environment just for the initial bootstrap then ship it out to production in a super janky way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants