-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.development
45 lines (40 loc) · 1.47 KB
/
.env.development
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
NODE_ENV="development"
# Backend
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres"
REDIS_URL="redis://localhost:6379"
SERVER_ENDPOINT="http://localhost:8080"
USE_HTTP="true"
# In WSL, use the IP address of the host machine (`hostname -I`)
PUSH_DOMAIN="127.0.0.1:8081"
VIDEO_DOMAIN="127.0.0.1:8082"
# PUSH_CDN_DOMAIN="127.0.0.1:8081"
# VIDEO_CDN_DOMAIN="127.0.0.1:8082"
CONTACT_INFORMATION="[You must edit this] Your name <[email protected]>"
MASTODON_DOMAIN="don.nzws.me"
MASTODON_ACCESS_TOKEN="hoge"
SERVER_TOKEN="hoge"
FRONTEND_ENDPOINT="http://localhost:3000"
ENABLE_QUEUE_DASHBOARD_YOU_HAVE_TO_PROTECT_IT="true"
ALLOW_ANONYMOUS_INVITE="true"
# S3 storage for high-request but relatively small amount of data: thumbnail etc
# Example: Cloudflare R2
STATIC_STORAGE_S3_ID=""
STATIC_STORAGE_S3_SECRET=""
STATIC_STORAGE_S3_BUCKET="knzklive2-dev"
STATIC_STORAGE_S3_ENDPOINT="https://account-id.r2.cloudflarestorage.com"
STATIC_STORAGE_S3_REGION="auto"
STATIC_STORAGE_S3_URL_PREFIX="https://pub-hoge.r2.dev"
# Cloudflare R2 is not supported to change ACL in S3 API
STATIC_STORAGE_S3_OVERRIDE_ACL="private"
# S3 storage for low-request but relatively large amount of data: video etc
VIDEO_STORAGE_S3_ID=""
VIDEO_STORAGE_S3_SECRET=""
VIDEO_STORAGE_S3_BUCKET=""
VIDEO_STORAGE_S3_ENDPOINT=""
VIDEO_STORAGE_S3_REGION=""
VIDEO_STORAGE_S3_URL_PREFIX=""
VIDEO_STORAGE_S3_OVERRIDE_ACL=""
# Video
CACHE_DIR_SAFE_QUOTA_GB=10
# Frontend
NEXT_PUBLIC_SERVER_ENDPOINT="http://localhost:8080"