blob: b362dee43b9d85e730af89b1fb3556a2e63b2a8f [file] [log] [blame]
giolekva7032d3c2021-10-22 14:46:31 +04001version: v0.7.1-alpha.1
2
3dsn: postgres://postgres:psswd@postgres:5432/kr?sslmode=disable&max_conns=20&max_idle_conns=4
4
5serve:
6 public:
7 base_url: https://accounts.lekva.me/
8 cors:
9 enabled: true
10 debug: true
11 allow_credentials: true
12 allowed_origins:
13 - https://lekva.me
14 - https://*.lekva.me
15 admin:
16 base_url: https://kratos.pcloud/
17
18selfservice:
19 default_browser_return_url: https://accounts-ui.lekva.me/
20 whitelisted_return_urls:
21 - https://accounts-ui.lekva.me
22
23 methods:
24 password:
25 enabled: true
26
27 flows:
28 error:
29 ui_url: https://accounts-ui.lekva.me/error
30
31 settings:
32 ui_url: https://accounts-ui.lekva.me/settings
33 privileged_session_max_age: 15m
34
35 recovery:
36 enabled: false
37
38 verification:
39 enabled: false
40
41 logout:
42 after:
43 default_browser_return_url: https://accounts-ui.lekva.me/login
44
45 login:
46 ui_url: https://accounts-ui.lekva.me/login
47 lifespan: 10m
48 after:
49 password:
50 default_browser_return_url: https://accounts-ui.lekva.me/
51
52 registration:
53 lifespan: 10m
54 ui_url: https://accounts-ui.lekva.me/registration
55 after:
56 password:
57 hooks:
58 -
59 hook: session
60 default_browser_return_url: https://accounts-ui.lekva.me/
61
62log:
63 level: debug
64 format: text
65 leak_sensitive_values: true
66
67cookies:
68 path: /
69 same_site: None
70 domain: lekva.me
71
72secrets:
73 cookie:
74 - PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
75 # cipher:
76 # - 32-LONG-SECRET-NOT-SECURE-AT-ALL
77
78# ciphers:
79# algorithm: xchacha20-poly1305
80
81hashers:
82 argon2:
83 parallelism: 1
84 memory: 128MB
85 iterations: 2
86 salt_length: 16
87 key_length: 16
88
89identity:
90 default_schema_url: file:///etc/kratos/identity/identity.schema.json
91
92courier:
93 smtp:
94 connection_uri: smtps://test-z1VmkYfYPjgdPRgPFgmeZ31esT9rUgS%40lekva.me:iW%213Kk%5EPPLFrZa%24%21bbpTPN9Wv3b8mvwS6ZJvMLtce%23A2%2A4MotD@mx1.lekva.me
95 # connection_uri: smtps://test-z1VmkYfYPjgdPRgPFgmeZ31esT9rUgS@lekva.me:iW!3Kk^PPLFrZa$!bbpTPN9Wv3b8mvwS6ZJvMLtce#A2*4MotD@mx1.lekva.me