-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy path.env.example
More file actions
28 lines (23 loc) · 1.09 KB
/
.env.example
File metadata and controls
28 lines (23 loc) · 1.09 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
# ============================================================
# LoLLMs Hub - Bootstrap Configuration
# ============================================================
# These settings are read from the .env file at startup.
# Copy this file to .env and customize values as needed.
# For Docker deployments, use: docker run --env-file .env ...
# ============================================================
# --- CORE SETTINGS ---
# Database URL (default: SQLite in current directory)
# Examples:
# SQLite (default): sqlite+aiosqlite:///./lollms_hub.db
# PostgreSQL: postgresql+asyncpg://user:password@localhost/lollms_hub
DATABASE_URL=sqlite+aiosqlite:///./lollms_hub.db
# Admin user credentials (used for first login)
ADMIN_USER=admin
ADMIN_PASSWORD=changeme
# Server port (default: 8080)
PROXY_PORT=8080
# Secret key for session encryption (generate a new one for production)
# You can generate one with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=dd2a57833f4a2115b02644c3c332822d5b6e405d542a2258c422fb39a8e97b10
# Logging level (debug, info, warning, error, critical)
LOG_LEVEL=info