-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
55 lines (45 loc) · 1.7 KB
/
Copy pathenv.example
File metadata and controls
55 lines (45 loc) · 1.7 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
54
55
BOT_TOKEN=your_bot_token_here
BOT_VERSION=1.2.3
SUPPORT_CHAT_ID=-100xxxxxxxxxx
# Optional forum topic/thread ID in SUPPORT_CHAT_ID for HWID deletion logs
HWID_DELETE_LOG_THREAD_ID=
ADMIN_IDS=123456789,987654321
POSTGRES_USER=postgres
POSTGRES_PASSWORD=your_password
POSTGRES_DB=support_tickets
POSTGRES_HOST=support-ticket-postgres
POSTGRES_PORT=5432
# Optional Remnawave panel integration for HWID management
REMNAWAVE_URL=https://panel.example.com
REMNAWAVE_TOKEN=your_remnawave_token_here
REMNAWAVE_MODE=remote
# Format: key1:value1;key2:value2
REMNAWAVE_HEADERS=
# Optional web admin panel
WEB_ADMIN_ENABLED=true
WEB_ADMIN_LISTEN_ADDR=:8080
WEB_ADMIN_PUBLIC_URL=https://support.example.com
# Optional. Defaults to the path part of WEB_ADMIN_PUBLIC_URL, or / when there is none.
# WEB_ADMIN_BASE_PATH=/
WEB_ADMIN_SESSION_COOKIE_NAME=support_admin_session
WEB_ADMIN_SESSION_TTL_HOURS=168
# Password auth. Format: username:bcryptHash;username2:bcryptHash2
WEB_AUTH_PASSWORD_ENABLED=true
WEB_AUTH_PASSWORD_USERS=admin:$2a$10$replace_with_bcrypt_hash
# Passkey auth
WEB_AUTH_PASSKEY_ENABLED=true
WEB_AUTH_PASSKEY_DISPLAY_NAME=Support Ticket Bot Admin
# GitHub auth
WEB_AUTH_GITHUB_ENABLED=false
WEB_AUTH_GITHUB_CLIENT_ID=
WEB_AUTH_GITHUB_CLIENT_SECRET=
WEB_AUTH_GITHUB_ALLOWED_EMAILS=ops@example.com
WEB_AUTH_GITHUB_ALLOWED_LOGINS=your-github-login
# Telegram auth. When WEB_AUTH_TELEGRAM_ALLOWED_IDS is empty, ADMIN_IDS is used.
WEB_AUTH_TELEGRAM_ENABLED=true
WEB_AUTH_TELEGRAM_ALLOWED_IDS=
# Bundled Valkey for shared sessions/OAuth state/passkey ceremony state.
# The compose stack also keeps TCP on support-ticket-valkey:6379 for compatibility.
VALKEY_ADDR=/run/support-ticket-valkey/valkey.sock
VALKEY_PASSWORD=
VALKEY_DB=0