-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy path.env.example
More file actions
33 lines (31 loc) · 1.34 KB
/
.env.example
File metadata and controls
33 lines (31 loc) · 1.34 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
# =============================================================================
# Leaderboard Environment Configuration
# =============================================================================
# Copy this file to .env and customize as needed for your environment.
# For local development, the defaults should work out of the box.
# -----------------------------------------------------------------------------
# Data Directory
# -----------------------------------------------------------------------------
# Path to the data repository containing config.yaml, contributors/, and data/
#
# For local development (monorepo):
# Use ./data (relative to workspace root)
#
# For production builds:
# Set to absolute path of cloned data repository
# Example: /leaderboard-data
#
# Default: ./data
LEADERBOARD_DATA_DIR=./data
# -----------------------------------------------------------------------------
# LibSQL Database Configuration
# -----------------------------------------------------------------------------
# URL for the LibSQL database connection
#
# Local file-based database (default):
# file:/path/to/database.db
# The path is relative to LEADERBOARD_DATA_DIR
# Example: file:.leaderboard.db (creates .leaderboard.db in data directory)
#
# Default: Automatically determined from LEADERBOARD_DATA_DIR
# LIBSQL_DB_URL=file:.leaderboard.db