-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 1.26 KB
/
.env.example
File metadata and controls
50 lines (40 loc) · 1.26 KB
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
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_DB=adapt
POSTGRES_PASSWORD=changeme
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=changeme
CDN_URL=https://convey.adapt.chat
# NOTE: the auth here should match CONVEY_AUTH unless the instance
# specified in CDN_URL is not the local instance
CDN_AUTHORIZATION=changeme
# NOTE: if SMTP is not configured, email features will be disabled
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_FROM_EMAIL=noreply@example.com
SMTP_FROM_NAME=Adapt
SMTP_USER=
SMTP_PASSWORD=
# path to a newline-separated file of blocked email domains
EMAIL_DOMAIN_BLOCKLIST=
# relative to backend root, key used for password salting
SECRET_KEY_PATH=webserver/secret.key
# NOTE: if either is left blank, push notifs will be disabled
GOOGLE_FCM_PROJECT_ID=adapt-chat
GOOGLE_APPLICATION_CREDENTIALS_PATH=/path/to/gcp-credentials.json
# NOTE: optional, leave blank to disable captchas
TURNSTILE_SECRET_KEY=
CONVEY_AUTH=changeme # bearer token for convey
CONVEY_MAX_SIZE=10485760 # max upload bytes (default: 10 MB)
CONVEY_USE_ZSTD_AT=20 # compress files larger than this KB with zstd
S3_BUCKET_NAME=
S3_REGION=
S3_ENDPOINT=
S3_ACCESS_KEY=
S3_SECRET_KEY=
HARMONY_PORT=8076
WEBSERVER_PORT=8077
CONVEY_PORT=8078
RUST_LOG=info