-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
42 lines (36 loc) · 1.05 KB
/
Copy pathenv.example
File metadata and controls
42 lines (36 loc) · 1.05 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
# MySQL
MYSQL_DATABASE=benchmarkinator
MYSQL_USER=benchmarkinator
MYSQL_PASSWORD=benchmarkinatorpassword
MYSQL_ROOT_PASSWORD=
# SQL Logs
SQL_ECHO=false
MYSQL_POOL_RECYCLE_SECONDS=1800
# API
API_KEY=benchmarkinator-dev-key-2024
AUTH_TOKEN_TTL_SECONDS=43200
AUTH_COOKIE_NAME=benchmarkinator_session
AUTH_COOKIE_SECURE=false
AUTH_COOKIE_SAMESITE=lax
LOGIN_RATE_LIMIT_ATTEMPTS=5
LOGIN_RATE_LIMIT_WINDOW_SECONDS=300
# CORS allowlist for direct browser calls to the raw API. Usually blank when
# browsers access the admin/public UI containers and those proxy /api.
ALLOWED_ORIGINS=
PUBLIC_RESULTS_CACHE_SECONDS=15
# Ports
MYSQL_PORT=3306
API_PORT=12345
ADMIN_PORT=8001
ADMIN_BIND_ADDRESS=0.0.0.0
PUBLIC_PORT=8002
PUBLIC_BIND_ADDRESS=0.0.0.0
# Web UI Authentication
WEBADMIN=admin
WEBPASSWORD=admin123
# This is for populating the hardware tables with some known hardware.
# Change to true for enabling
LOAD_HARDWARE_DATA=false
# Options: retro or retroextended or modern (just one)
# retro is up to 2005, extended goes up to 2008 and modern is well, modern.
HARDWARE_ERA=retro