forked from baron/baron-sso
sql command 수정
This commit is contained in:
@@ -31,7 +31,7 @@ services:
|
|||||||
- KRATOS_SELFSERVICE_ALLOWED_RETURN_URLS='["${KRATOS_UI_URL:-http://localhost:5000}","${USERFRONT_URL:-http://localhost:5000}"]'
|
- KRATOS_SELFSERVICE_ALLOWED_RETURN_URLS='["${KRATOS_UI_URL:-http://localhost:5000}","${USERFRONT_URL:-http://localhost:5000}"]'
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/ory/kratos:/etc/config/kratos
|
- ./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:
|
depends_on:
|
||||||
postgres_ory:
|
postgres_ory:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -62,7 +62,7 @@ services:
|
|||||||
image: oryd/hydra:${HYDRA_VERSION:-v25.4.0}
|
image: oryd/hydra:${HYDRA_VERSION:-v25.4.0}
|
||||||
environment:
|
environment:
|
||||||
- DSN=postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${HYDRA_DB:-ory_hydra}?sslmode=disable&max_conns=20
|
- 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:
|
depends_on:
|
||||||
postgres_ory:
|
postgres_ory:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user