-
Notifications
You must be signed in to change notification settings - Fork 5
/
.env.example
30 lines (21 loc) · 1.26 KB
/
.env.example
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
# The hypixel token obtained at https://developer.hypixel.net/
URSA_HYPIXEL_TOKEN=63f72b18-2728-4f27-b4be-7a475664949e
# The port ursa should listen to
URSA_PORT=3000
# A : separated list of files that contain the rules after which ursa proxies requests.
URSA_RULES=rules/player.json:rules/skyblock-profiles.json:rules/guild.json:rules/skyblock-bingo.json:rules/status.json:rules/v2-skyblock-profiles.json
# A secret key that is used for verifying the JWT. Multiple ursa servers can share one secret, allowing users to connect
# to any of the servers with the same token.
URSA_SECRET=xxxxxx
# The redis instance to connect to. This redis instance is currently only used for diagnostics and rate limiting, and
# can therefore be non persistent, if you do not care about those two aspects too much.
URSA_REDIS_URL=redis://localhost
# Set to true to allow anonymous requests to public endpoints.
URSA_ANONYMOUS=true
# Set how long each JWT token lasts until it can be no longer reused
# Set in seconds
URSA_TOKEN_LIFESPAN=3600
# Rate limit timeout - Sets how long a rate limit bucket lasts before resetting back to 0
URSA_RATE_LIMIT_TIMEOUT=300
# Rate limit bucket - Sets how many requests a user can do within the rate limit timeout, before being restricted.
URSA_RATE_LIMIT_BUCKET=5