-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauth_config.example.yaml
More file actions
39 lines (34 loc) · 896 Bytes
/
auth_config.example.yaml
File metadata and controls
39 lines (34 loc) · 896 Bytes
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
# App
app_name: "GoChat"
base_url: "http://example.com"
# API
server_address: ":3100"
api_log: true
idempotency_storage_lifetime: 10
rate_limit_time: 1
swagger: false
rate_limit_requests: 20
# Auth
auth_secret: "change_me_before_use_it_in_production"
mfa_encryption_key: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
nats_conn_string: "nats://nats:4222"
# Email
email_source: "no-reply@example.com"
email_name: "no-reply"
email_template: "./email_notify.tmpl"
password_reset_template: "./password_reset.tmpl"
mfa_recovery_template: "./mfa_recovery.tmpl"
email_provider: "smtp"
sendpulse_user_id: ""
sendpulse_secret: ""
resend_api_key: ""
dashamail_api_key: ""
smtp_host: "host.docker.internal"
smtp_port: 2525
smtp_username: ""
smtp_password: ""
smtp_use_tls: false
# Redis
keydb: "keydb:6379"
# PostgreSQL
pg_dsn: "host=citus-master port=5432 user=postgres dbname=gochat sslmode=disable"