diff --git a/docker/compose.ory.yaml b/docker/compose.ory.yaml index a91a6038..a3c6ba15 100644 --- a/docker/compose.ory.yaml +++ b/docker/compose.ory.yaml @@ -31,7 +31,7 @@ services: - KRATOS_SELFSERVICE_ALLOWED_RETURN_URLS='["${KRATOS_UI_URL:-http://localhost:5000}","${USERFRONT_URL:-http://localhost:5000}"]' volumes: - ./docker/ory/kratos:/etc/config/kratos - command: migrate sql -c /etc/config/kratos/kratos.yml --yes + command: migrate sql up -c /etc/config/kratos/kratos.yml --yes depends_on: postgres_ory: condition: service_healthy @@ -62,7 +62,7 @@ services: image: oryd/hydra:${HYDRA_VERSION:-v25.4.0} environment: - DSN=postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${HYDRA_DB:-ory_hydra}?sslmode=disable&max_conns=20 - command: migrate sql -e --yes + command: migrate sql up -e --yes depends_on: postgres_ory: condition: service_healthy