From 29c5c3f0cf3509320e2744c87f44d0c95c78947d Mon Sep 17 00:00:00 2001 From: chan Date: Fri, 6 Feb 2026 17:31:46 +0900 Subject: [PATCH] =?UTF-8?q?=20DSN=20=EB=94=B0=EC=98=B4=ED=91=9C=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=20=EB=B0=8F=20--dev=20=ED=94=8C=EB=9E=98?= =?UTF-8?q?=EA=B7=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compose.ory.yaml | 2 +- docker/compose.ory.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compose.ory.yaml b/compose.ory.yaml index a441d87c..5e9d5f9d 100644 --- a/compose.ory.yaml +++ b/compose.ory.yaml @@ -39,7 +39,7 @@ services: - KRATOS_SELFSERVICE_FLOWS_LOGOUT_AFTER_DEFAULT_BROWSER_RETURN_URL=${KRATOS_UI_URL:-http://localhost:5000}/login volumes: - ./docker/ory/kratos:/etc/config/kratos - command: migrate sql -c /etc/config/kratos/kratos.yml --yes + command: -c /etc/config/kratos/kratos.yml migrate sql -e --yes depends_on: postgres_ory: condition: service_healthy diff --git a/docker/compose.ory.yaml b/docker/compose.ory.yaml index db0f5f9f..3b7ffc71 100644 --- a/docker/compose.ory.yaml +++ b/docker/compose.ory.yaml @@ -24,14 +24,14 @@ services: kratos-migrate: image: oryd/kratos:${KRATOS_VERSION:-v25.4.0} environment: - - DSN="postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${KRATOS_DB:-ory_kratos}?sslmode=disable&max_conns=20" + - DSN=postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${KRATOS_DB:-ory_kratos}?sslmode=disable&max_conns=20 - KRATOS_SERVE_PUBLIC_BASE_URL="${KRATOS_BROWSER_URL:-http://localhost:4433}" - KRATOS_SERVE_ADMIN_BASE_URL="${KRATOS_ADMIN_URL:-http://kratos:4434}" - KRATOS_SELFSERVICE_DEFAULT_BROWSER_RETURN_URL="${KRATOS_UI_URL:-http://localhost:5000}" - KRATOS_SELFSERVICE_ALLOWED_RETURN_URLS='["${KRATOS_UI_URL:-http://localhost:5000}","${USERFRONT_URL:-http://localhost:5000}"]' volumes: - ./docker/ory/kratos:/etc/config/kratos - command: -c /etc/config/kratos/kratos.yml migrate sql -e --yes + command: migrate sql -c /etc/config/kratos/kratos.yml --yes depends_on: postgres_ory: condition: service_healthy @@ -42,7 +42,7 @@ services: image: oryd/kratos:${KRATOS_VERSION:-v25.4.0} container_name: ory_kratos environment: - - DSN="postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${KRATOS_DB:-ory_kratos}?sslmode=disable&max_conns=20" + - DSN=postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${KRATOS_DB:-ory_kratos}?sslmode=disable&max_conns=20 - COOKIE_SECRET="${COOKIE_SECRET:-localcookie123}" - KRATOS_SERVE_PUBLIC_BASE_URL="${KRATOS_BROWSER_URL:-http://localhost:4433}" - KRATOS_SERVE_ADMIN_BASE_URL="${KRATOS_ADMIN_URL:-http://kratos:4434}" @@ -50,7 +50,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: serve -c /etc/config/kratos/kratos.yml --dev + command: serve -c /etc/config/kratos/kratos.yml depends_on: kratos-migrate: condition: service_completed_successfully @@ -62,7 +62,7 @@ services: image: oryd/hydra:${HYDRA_VERSION:-v25.4.0} container_name: ory_hydra 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 - URLS_SELF_ISSUER="${USERFRONT_URL:-http://localhost:5000}/oidc" - URLS_LOGIN="${USERFRONT_URL:-http://localhost:5000}/login" - URLS_CONSENT="${USERFRONT_URL:-http://localhost:5000}/consent"