From d7acaee6b18090f76e4e6668fc9e447fae6c5d1f Mon Sep 17 00:00:00 2001 From: shreeharsha-factly Date: Fri, 29 Oct 2021 13:09:09 +0530 Subject: [PATCH 1/2] update kratos identity schema --- kratos/config/identity.schema.json | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/kratos/config/identity.schema.json b/kratos/config/identity.schema.json index 07ec4407..f8048046 100644 --- a/kratos/config/identity.schema.json +++ b/kratos/config/identity.schema.json @@ -26,15 +26,16 @@ } } }, - "first_name": { - "type": "string", - "title": "First name", - "minLength": 1 - }, - "last_name": { - "type": "string", - "title": "Last name", - "minLength": 1 + "name": { + "type": "object", + "properties": { + "first": { + "type": "string" + }, + "last": { + "type": "string" + } + } } }, "required": [ From 16636fb6e752e2225711c4834818445e9f206573 Mon Sep 17 00:00:00 2001 From: shreeharsha-factly Date: Fri, 29 Oct 2021 13:10:10 +0530 Subject: [PATCH 2/2] update kratos docker images to v0.5.5-alpha.1 --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2e8bffc3..ece11942 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -88,7 +88,6 @@ services: exit 0; " - ########################################################################### ####### SMTP SERVICES ####### ########################################################################### @@ -106,7 +105,7 @@ services: kratos-migrate: depends_on: - postgres - image: oryd/kratos:v0.5.0-alpha.1-sqlite + image: oryd/kratos:v0.5.5-alpha.1.pre.1-sqlite environment: - DSN=postgres://postgres:postgres@postgres:5432/kratos?sslmode=disable volumes: @@ -121,12 +120,13 @@ services: kratos: depends_on: - kratos-migrate - image: oryd/kratos:v0.5.0-alpha.1-sqlite + image: oryd/kratos:v0.5.5-alpha.1.pre.1-sqlite ports: - "4433:4433" # public - "4434:4434" # admin environment: - DSN=postgres://postgres:postgres@postgres:5432/kratos?sslmode=disable + - LOG_LEVEL=trace volumes: - type: bind source: ./kratos/config @@ -202,7 +202,7 @@ services: restart: unless-stopped networks: - kavach - + kavach-migrate: depends_on: - postgres @@ -241,4 +241,4 @@ services: - kavach networks: - kavach: + kavach: