Hey all! Facing some configuraton issues while co...
# talk-keto
f
Hey all! Facing some configuraton issues while configuring Ory keto with docker-compose setup. So I want to have Keto setup with Postgres database. But There is a command called keto-migrate which is being declared as another service in the below docker-compose setup in the Ory keto examples ( https://github.com/ory/keto/blob/master/docker-compose-postgres.yml ) , However They both are using the same image, Which we cannot have in our micro-service architecture. So The problem I want to solve is, Can I maintain migration and schema files and execute keto migrations using that script? If yes, Is there a initial schema file or example available which I can use? or Can I combine keto-migrate and keto service to run as one service rather then two separate service. There is something that's being done with sqlite (https://github.com/ory/keto/blob/master/.docker/Dockerfile-sqlite ) Is there an example that I can use to run postgres with migrations?
Ok. Got it working with a entrypoint script for running migrations!