Replies: 1 comment
-
Hello @jmls The kratos-migrate container in the Docker Compose file is designed to handle SQL migrations, which are necessary for new installations and when upgrading. This container is set up to run the migrations before the main kratos service starts, ensuring that the database schema is up-to-date before the application begins to interact with it.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to understand why there is a container for migrations in the sample docker compose, and why kratos depends on it.
The docs state this
but - if "Migrations also run automatically whenever you run the serve command" then why is the migrations container needed ?
Beta Was this translation helpful? Give feedback.
All reactions