-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (32 loc) · 1.23 KB
/
.env.example
File metadata and controls
42 lines (32 loc) · 1.23 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
# RaiseMyHand Environment Configuration
# Copy this file to .env and customize for your deployment
# Server Configuration
HOST=0.0.0.0
PORT=8000
# Database
DATABASE_URL=sqlite:///./data/raisemyhand.db
# External Access URL (for QR codes and links)
# Change this to your actual IP or domain
# Examples:
# http://192.168.1.100:8000 (local network)
# https://raisemyhand.example.com (production with domain)
BASE_URL=http://localhost:8000
# Timezone (IANA timezone names)
# Examples: America/New_York, America/Los_Angeles, Europe/London, Asia/Tokyo
TIMEZONE=UTC
# Admin Authentication - REQUIRED! Set a strong password
# WARNING: DO NOT commit .env with real password! Keep .env in .gitignore
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change_this_password_123
# Optional: Set a custom secret key (auto-generated if not set)
# SECRET_KEY=your-secret-key-here
# Session timeout in minutes (default: 480 = 8 hours)
# ACCESS_TOKEN_EXPIRE_MINUTES=480
# Enable/disable authentication (default: true)
# ENABLE_AUTH=true
# Demo Mode (default: false)
# Set to true for demo environment with auto-reset data and demo credentials
DEMO_MODE=false
# First Run Configuration
# Set to true to create a default API key on first startup
CREATE_DEFAULT_API_KEY=false