-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
docker compose files using invalid migrate syntax #773
Comments
True, would you be up for a fix? |
In
|
Align the docker-compose with the ENTRYPOINT and CMD of the Dockerfile Use exec form in docker-compose as in the Dockerfile.
Use `docker-compose -f docker-compose-postgres.yml up` to test it
I had the same issue and created a pull request for fixing it. The issue is related to the ENTRYPONT and the CMD within the Dockerfile, both are using the exec format |
keto/docker-compose-postgres.yml
Line 12 in bd88a36
According to the CLI reference (https://www.ory.sh/keto/docs/cli/keto-migrate) this not valid syntax for migrate. As a consequence the keto-migrate service will not do anything.
With 0.7 this docker compose file will not work out of the box anymore, because duse to the invalid migrate the keto service will fail to start with
Migrations were not applied yet, please apply them first.ketopoc_keto_1 exited with code 255
should this be better
migrate up --yes
? and the whole blockor did i missed here something?
The text was updated successfully, but these errors were encountered: