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

Propose a docker-compose simplified approach without init container. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alcibiade
Copy link

The current base setup for Midpoint native on docker is using a dedicated container for initialization of the database. This init container requires to be based on the same base image as the midpoint server itself. Both midpoint and init use a custom command for container initialization and we have to duplicate DB environment variables.

I think it would be preferable to avoid this by having midpoint run the initialization scripts before startup. I would even suggest if you could maintain a set of docker images that would have this initialization hardcoded on tags like 4.8.3-native-alpine for instance ? This way we could bootstrap images in Docker compose or Kubernetes cluster much more conveniently.

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

Successfully merging this pull request may close these issues.

1 participant