-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathexample.env
More file actions
72 lines (62 loc) · 2.12 KB
/
Copy pathexample.env
File metadata and controls
72 lines (62 loc) · 2.12 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Discord Bot Configuration
DISCORD_OWNER_ID=your_discord_user_id_here
DISCORD_CLIENT_ID=your_bot_client_id_here
DISCORD_DEV_SERVER=your_dev_server_id_here
DISCORD_TOKEN=your_bot_token_here
DISCORD_WEBHOOK_URL=your_webhook_url_here
# MongoDB Configuration
MONGODB_URL=mongodb://127.0.0.1:27017/
MONGODB_SWGOHBOT_DB=swgohbot
MONGODB_SWAPI_DB=swapi
# Event Server Configuration (Url for client, port for server)
# Full URL to the event HTTP server (http:// or https://)
EVENT_SERVER_URL=http://localhost:3700
EVENT_SERVER_PORT=3700
EVENT_SERVER_SECRET=your_secret_key_here
## SWAPI Serve Configuration (Priority queue) (Url for client, port for server)
SWAPI_SERVE_URL=http://localhost:3800
SWAPI_SERVE_PORT=3800
SWAPI_SERVE_HOST=127.0.0.1
SWAPI_SERVE_CONTROL_SECRET=
# AIMD bounds
SWAPI_SERVE_START_LIMIT=30
SWAPI_SERVE_MAX_LIMIT=300
SWAPI_SERVE_START_RATE=50
SWAPI_SERVE_MAX_RATE=600
# Latency backoff sensitivity
SWAPI_SERVE_QUEUE_THRESHOLD=8
SWAPI_SERVE_DEGRADED_SAMPLES=20
SWAPI_SERVE_RTT_ALPHA=0.2
# Logging Configuration
# LOG_LEVEL: trace | debug | info | warn | error | fatal | silent
# LOG_PRETTY: true forces the readable format, false forces JSON. Leave it commented out to decide
# by TTY, which gives containers JSON and an interactive run the readable format. `LOG_PRETTY=` with
# no value counts as false, not as unset.
DEBUG_LOGS=true
LOG_LEVEL=info
# LOG_PRETTY=
LOG_TO_CHANNEL=false
LOG_CHANNEL_ID=
LOG_TIMEZONE=America/Los_Angeles
# Premium Configuration
PREMIUM=false
# Image Server Configuration
IMAGE_SERVER_URL=http://localhost:3600
# SWAPI Configuration
SWAPI_STATCALC_URL=http://localhost:3223
SWAPI_CLIENT_URL=http://localhost:3200
SWAPI_ACCESS_KEY=your_access_key_here
SWAPI_SECRET_KEY=your_secret_key_here
# Bot shards status server
SHARD_STATUS_PORT=3810
SHARD_STATUS_HOST=127.0.0.1
# Patreon V2 API Configuration (optional - leave blank if not using)
PATREON_CAMPAIGN_ID=
PATREON_CLIENT_ID=
PATREON_CLIENT_SECRET=
PATREON_CREATOR_ACCESS_TOKEN=
PATREON_CREATOR_REFRESH_TOKEN=
# Patrons Configuration
# JSON object mapping Discord user IDs to patron tier levels
# Example: PATRONS={"124579977474736129":1000,"987654321":1500}
PATRONS={}