-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy path.env.example
More file actions
70 lines (59 loc) · 1.59 KB
/
.env.example
File metadata and controls
70 lines (59 loc) · 1.59 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# ===================
# NextAuth Configuration
# ===================
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-nextauth-secret-key-here
# ===================
# Database Configuration
# ===================
# Options: sqlite, mysql
DB_TYPE=sqlite
# MySQL Configuration (if DB_TYPE=mysql)
# Preferred variables
# MYSQL_HOST=localhost
# MYSQL_PORT=3306
# MYSQL_USER=sanhub
# MYSQL_PASSWORD=your-mysql-password
# MYSQL_DATABASE=sanhub
# MYSQL_POOL_SIZE=20
# MYSQL_SSL=false
# MYSQL_SSL_CA=
# MYSQL_SSL_CERT=
# MYSQL_SSL_KEY=
# MYSQL_SSL_REJECT_UNAUTHORIZED=true
# Legacy aliases are still supported
# DB_HOST=localhost
# DB_PORT=3306
# DB_USER=sanhub
# DB_PASSWORD=your-mysql-password
# DB_NAME=sanhub
# ===================
# Admin Account (first run)
# ===================
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=change-this-password
# ===================
# API Keys (optional - can be configured in admin panel)
# ===================
# SORA_API_KEY=
# SORA_BASE_URL=http://localhost:8000
# GEMINI_API_KEY=
# GEMINI_BASE_URL=https://generativelanguage.googleapis.com
# ZIMAGE_API_KEY=
# ZIMAGE_BASE_URL=https://api-inference.modelscope.cn/
# GITEE_FREE_API_KEY=
# GITEE_API_KEY=
# GITEE_BASE_URL=https://ai.gitee.com/
# ===================
# Storage
# ===================
# Data directory for SQLite and media files
# DATA_DIR=./data
# Enable file-based media storage (recommended)
# Set to 'false' to store base64 in database instead
# MEDIA_FILE_STORAGE=true
# ===================
# Performance
# ===================
# Disable undici body timeout for long video generation
UNDICI_NO_BODY_TIMEOUT=1