forked from face-hh/lyntr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
31 lines (27 loc) · 1.77 KB
/
.env
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
# SUPABASE
# Section 1
DATABASE_URL="postgresql://postgres.kxhzlkxkpjxbxdmzqdmo:[email protected]:6543/postgres"
JWT_SECRET="X2hbAp8xPARQT0m3bj4sSQ1eFcOVb8wypeV7zR7PjLTwAHKzqpLqWXndtPQP+7C4uumrY1T+X2VxLpIjxVcZ4g=="
# This section consists of simply splitting Section 1's DATABASE_URL
DB_HOST="aws-0-us-east-2.pooler.supabase.com"
DB_USER="postgres.kxhzlkxkpjxbxdmzqdmo"
DB_PASSWORD="TH3LYNTR3B0RN"
DB_NAME="postgres"
# --------
PUBLIC_SUPABASE_URL="https://kxhzlkxkpjxbxdmzqdmo.supabase.co"
PUBLIC_SUPABASE_ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imt4aHpsa3hrcGp4YnhkbXpxZG1vIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjYyNjc4NjYsImV4cCI6MjA0MTg0Mzg2Nn0.svvTD3-ZJNUsCfqKubMkk1xoSl1hrd6iBsSD5eA6qKU"
# --------
# MinIO
MINIO_ENDPOINT="localhost"
MINIO_ACCESS_KEY="AAAAAAAAAAAAAAAA"
MINIO_SECRET_KEY="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
S3_BUCKET_NAME="lyntr"
PUBLIC_CDN_URL="http://localhost:9000" # You probably shouldn't change this unless you're running in production, in that case it'd be something like https://cdn.example.com
# ================= OPTIONAL =================
# DISCORD | CAN BE LEFT EMPTY IF YOU DON'T NEED REPORTING SYSTEM / VERIFYING COMMAND
DISCORD_BOT_TOKEN="AAAAAAAAAAAA.AAAAAAA.AAAAAAAAAAAAAA_AAAAAAAA"
DISCORD_CHANNEL_ID="9999999999999999" # Channel to send reports to
ADMIN_KEY="AAAAAAAAAAAAAAAAAAAAAA" # Key to communicate between the API and the bot. Required for endpoint /verify & /ban
API_BASE_URL="http://localhost:5173" # The API URL (usually port 5173)
SUDO_USER_ID="AAAAAAAAAAAAAAAAAAA" # The (valid) Lyntr user ID to use as an "agent" when fetching Lynt content for reporting. (since views must count regardless)
DISCORD_ADMIN_ROLE="9999999999999999" # Only users with this role can use /verify or ban users.