This repository was archived by the owner on May 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (43 loc) · 1.74 KB
/
Copy path.env.example
File metadata and controls
53 lines (43 loc) · 1.74 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
51
52
53
# ==========================================
# 🤖 BOT & WEB APP CONFIGURATION
# ==========================================
# Discord Credentials (Used by Bot, Web App, and Weblate Login)
DISCORD_BOT_TOKEN=your_discord_bot_token
DISCORD_CLIENT_ID=your_discord_application_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
# Internal Config
GUILD_ID=your_test_guild_id
DOCS_URL=https://docs.khaxy.net
NODE_ENV=development
# Web App Specifics
BETTER_AUTH_SECRET=your_better_auth_secret
BETTER_AUTH_URL=http://localhost:3000
FASTIFY_API_URL=http://localhost:3001
INTERNAL_API_KEY=your_internal_api_key
# Security
API_KEY_PBKDF2_SALT=your_api_key_pbkdf2_salt
# ==========================================
# 🗄️ DATABASE (Bot & Web App)
# ==========================================
# These configure the Postgres Container AND the Application connection
POSTGRES_USER=khaxy
POSTGRES_PASSWORD=secure_password_here
POSTGRES_DB=khaxy
# The app uses this constructed URL (Note: host is 'postgres' for docker internal, or 'localhost' if running outside)
DATABASE_URL=postgres://khaxy:secure_password_here@localhost:5432/khaxy
# ==========================================
# 🌍 WEBLATE CONFIGURATION
# ==========================================
# Admin User (Created on first run)
WEBLATE_ADMIN_NAME=KhaxyAdmin
WEBLATE_ADMIN_EMAIL=admin@khaxy.com
WEBLATE_ADMIN_PASSWORD=secure_admin_password
# Database (Separate from Bot DB)
WEBLATE_DB_PASSWORD=secure_weblate_db_password
# Hosting & Security
WEBLATE_SITE_DOMAIN=translate.khaxy.com
WEBLATE_ALLOWED_HOSTS=translate.khaxy.com,localhost,127.0.0.1
# GitHub OAuth
GITHUB_CLIENT_ID=Iv1.xxxxxxxxxxx
GITHUB_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# (Discord OAuth uses the DISCORD_CLIENT_ID/SECRET from top section)