Skip to content

Commit

Permalink
Merge pull request #75 from factly/feat/[email protected]
Browse files Browse the repository at this point in the history
Update [email protected] alpha.1
  • Loading branch information
shreeharsha-factly authored Oct 29, 2021
2 parents 5676529 + 637775d commit 3840249
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
21 changes: 11 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,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:
Expand All @@ -119,12 +119,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
Expand Down Expand Up @@ -197,13 +198,13 @@ services:
- type: bind
source: ./config.env
target: /app/config.env
# - type: bind
# source: ./kavach.db
# target: /app/kavach.db
# - type: bind
# source: ./kavach.db
# target: /app/kavach.db
restart: unless-stopped
networks:
- kavach

kavach-migrate:
depends_on:
- postgres
Expand All @@ -221,9 +222,9 @@ services:
- type: bind
source: ./config.env
target: /app/config.env
# - type: bind
# source: ./kavach.db
# target: /app/kavach.db
# - type: bind
# source: ./kavach.db
# target: /app/kavach.db
networks:
- kavach

Expand All @@ -245,4 +246,4 @@ services:
- kavach

networks:
kavach:
kavach:
19 changes: 10 additions & 9 deletions kratos/config/identity.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 3840249

Please sign in to comment.