Skip to content

Commit

Permalink
chore: move Kratos initialization script to dev/docker
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed May 8, 2024
1 parent 8933248 commit 9ba5758
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion dev/docker/kratos.local.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ leak_sensitive_values = true

[identity]
default_schema_id = "user"
schemas = [{ id = "user", url = "file:///etc/config/kratos/kratos_user_identity.schema.json" }]
schemas = [{ id = "user", url = "file:///etc/config/kratos/user_identity.schema.json" }]

[session]
cookie = { name = "id" }
Expand Down
8 changes: 4 additions & 4 deletions dev/docker/postgres-and-kratos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
volumes:
- db_vol:/var/lib/postgresql/data
- type: bind
source: ../../database
target: /docker-entrypoint-initdb.d
source: ./postgres_init.sql
target: /docker-entrypoint-initdb.d/postgres_init.sql
networks:
- net

Expand Down Expand Up @@ -41,8 +41,8 @@ services:
source: ./kratos.local.toml
target: /etc/config/kratos/kratos.toml
- type: bind
source: ../../database/kratos_user_identity.schema.json
target: /etc/config/kratos/kratos_user_identity.schema.json
source: ../../config/user_identity.schema.json
target: /etc/config/kratos/user_identity.schema.json
command: serve -c /etc/config/kratos/kratos.toml --dev --watch-courier --sqa-opt-out
networks:
- net
Expand Down
File renamed without changes.

0 comments on commit 9ba5758

Please sign in to comment.