-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.env.dev
More file actions
37 lines (28 loc) · 1.86 KB
/
.env.dev
File metadata and controls
37 lines (28 loc) · 1.86 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
# General settings
WEB_DOMAIN=sunrise.local # Required: The domain where the web application is hosted
API_TOKEN_SECRET=SunnyMountainRiver # Required: Secret key for API token generation. REPLACE WITH ANY RANDOM STRING FOR PRODUCTION !
USE_CLOUDFLARE_HEADERS_FOR_GEOLOCATION=false # Optional: Whether to use Cloudflare headers for geolocation
# Observatory settings (Beatmap Mirror manager)
OBSERVATORY_HOST=localhost # Required: The host address of the observatory service
OBSERVATORY_PORT=3333 # Required: The port number of the observatory service
OBSERVATORY_API_KEY= # Optional: API key for the observatory service to avoid rate limiting
# Database services
MYSQL_HOST=localhost # Required: The host address of the MySQL database
MYSQL_PORT=3308 # Required: The port number of the MySQL database
MYSQL_USER=root # Required: The username for the MySQL database
MYSQL_PASSWORD=root # Required: The password for the MySQL database
MYSQL_DATABASE=sunrise # Required: The database name of the MySQL database
HANGFIRE_HOST=localhost # Required: The host address of the Hangfire database
HANGFIRE_PORT=3308 # Required: The port number of the Hangfire database
HANGFIRE_USER=root # Required: The username for the Hangfire database
HANGFIRE_PASSWORD=root # Required: The password for the Hangfire database
REDIS_HOST=localhost # Required: The host address of the Redis server
REDIS_PORT=6379 # Required: The port number of the Redis server
# Telemetry services
TEMPO_HOST=localhost # Optional: The host address of the Tempo service
TEMPO_PORT=4317 # Optional: The port number of the Tempo service
LOKI_HOST=localhost # Optional: The host address of the Loki service
LOKI_PORT=3100 # Optional: The port number of the Loki service
########################################################
# Don't forget to edit appsettings.*.json config files #
########################################################