diff --git a/database/kratos_user_identity.schema.json b/config/user_identity.schema.json similarity index 100% rename from database/kratos_user_identity.schema.json rename to config/user_identity.schema.json diff --git a/dev/docker/kratos.local.toml b/dev/docker/kratos.local.toml index bfcdb18..3304709 100644 --- a/dev/docker/kratos.local.toml +++ b/dev/docker/kratos.local.toml @@ -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" } diff --git a/dev/docker/postgres-and-kratos.yml b/dev/docker/postgres-and-kratos.yml index cab3acf..b9e03d5 100644 --- a/dev/docker/postgres-and-kratos.yml +++ b/dev/docker/postgres-and-kratos.yml @@ -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 @@ -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 diff --git a/database/postgres_init.sql b/dev/docker/postgres_init.sql similarity index 100% rename from database/postgres_init.sql rename to dev/docker/postgres_init.sql