-
Notifications
You must be signed in to change notification settings - Fork 876
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
Restarting with external database configured re-runs the database init scripts #182
Comments
Hi @davosian did you have the same error?
If so we could try to fix the |
Yes, this would work. I was hoping that I was simply missing something in my docker configuration but it looks this is not the case. Submitted a PR for fixing the script: #183. |
When starting the application with the following docker-compose definition, restarting the application fails because it is trying to initialize the (then existing) database again:
Is this a bug or is there a way for the application to detect that the database has been initialized already?
When adding
SPRING_SQL_INIT_MODE: never
after the first run, the application works fine since this forces the application to skip the database initialization.The text was updated successfully, but these errors were encountered: