-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.template.json
28 lines (28 loc) · 1.03 KB
/
config.template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"_WARNING": "This file has been added to .gitignore. You should not commit it to any public repositories as it contains sensitive information.",
"connection_url": "sqlite::memory:",
"secret_key": "a_super_secret_key. Use: 'openssl rand -hex 32' to generate one",
"debug_level": "info",
"bind_addr": "0.0.0.0:8080",
"argon2_params": {
"salt_length": 16,
"memory": 65536,
"iterations": 4,
"parallelism": 2,
"tag_length": 32
},
"minimum_password_strength": 1,
"email": {
"smtp_server": "smtp.mail.me.com",
"smtp_port": 587,
"smtp_username": "some_username@icloud.com",
"smtp_password": "a_super_secret_password",
"smtp_encryption": "TLS",
"from": "Name <email@example.com>",
"reply_to": "No Reply <no-reply@example.com>",
"magic_link_subject": "Magic link",
"forgot_password_subject": "Forgot password",
"confirmation_subject": "Email confirmation"
},
"allowed_origins": ["https://example.com"]
}