-
Notifications
You must be signed in to change notification settings - Fork 7
/
settings.example.toml
87 lines (71 loc) · 2.1 KB
/
settings.example.toml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[default]
[default.oauth.google]
client_id = "xxx.apps.googleusercontent.com"
client_secret = "secret"
redirect_uri = "http://localhost:5173"
enabled = true
[default.database]
endpoint = "postgresql+asyncpg://user:password@localhost:5432/hikka"
[default.mailgun]
endpoint = "https://api.eu.mailgun.net/v3/mail.hikka.io/messages"
token = "token"
email_from = "Hikka <noreply@mail.hikka.io>"
[default.meilisearch]
url = "http://127.0.0.1:8800"
api_key = "xyz"
[default.backend]
plausible = "http://127.0.0.1:8000"
aggregator = "http://aggregator.local/database"
sitemap_path = "/Users/user/Work/Hikka/sitemap"
auth_emails = []
origins = [
"http://localhost:8000",
"http://localhost:3000",
"https://hikka.io",
]
[default.backup]
token = "backup_token"
[default.captcha]
secret_key = "captcha_secret"
site_key = "captcha_key"
test = "fake_captcha"
[default.s3]
key = "s3_key"
secret = "s3_secret"
endpoint = "https://endpoint.s3.provider.com"
bucket = "hikka"
[default.profiling]
enabled = true
trigger = "query" # [query/all]
path = ".profile_info"
profiling_secret = "secret"
[testing]
[testing.database]
endpoint = "postgresql+asyncpg://user:password@localhost:5432/database-tests"
[testing.oauth.google]
client_id = "xxx.apps.googleusercontent.com"
client_secret = "secret"
redirect_uri = "http://example.com/oauth/google"
enabled = true
[testing.meilisearch]
url = "http://127.0.0.1:9900"
api_key = "zyx"
[testing.backend]
auth_emails = ["user@mail.com"]
origins = []
[testing.backup]
token = "backup_token"
[testing.captcha]
secret_key = "test_secter_key"
site_key = "test_site_key"
test = "fake_captcha"
[testing.s3]
key = "FAKE_KEY"
secret = "FAKE_SECRET"
endpoint = "https://fake.s3.example.com"
bucket = "hikka-test"
[testing.profiling]
enabled = false
trigger = "query" # [query/all]
path = ".profile_info"
profiling_secret = "secret"