Skip to content

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

Open

Description

@Leopere

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.

Activity

  1. mockdeep commented on Jan 5, 2024

    @mockdeep
    Collaborator

    @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.

  2. guidopetri commented on Jan 7, 2024

    @guidopetri
    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?

  3. Leopere commented on Jan 8, 2024

    @Leopere
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions