-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.env.example
More file actions
26 lines (24 loc) · 1.57 KB
/
.env.example
File metadata and controls
26 lines (24 loc) · 1.57 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
###############################################################################
# SeerrBridge - Minimal Environment Variables
###############################################################################
# Most configuration is now managed via the web interface and stored
# securely in the database. This .env file is minimal and only requires
# database connection and initial credentials for first-time setup.
###############################################################################
# ==============================================================================
# DATABASE CONFIGURATION - REQUIRED
# ==============================================================================
# These are the ONLY variables that must remain in .env for database storage
DB_HOST=localhost # Use 'mysql' when running in Docker
DB_PORT=3307 # Use 3306 when running in Docker (3307 for exposed port)
DB_NAME=seerrbridge
DB_USER=seerrbridge
DB_PASSWORD=seerrbridge # ⚠️ CHANGE THIS to a secure password!
USE_DATABASE=true # Must be true for encrypted database storage
# ==============================================================================
# ENCRYPTION MASTER KEY - RECOMMENDED
# ==============================================================================
# This key is used to encrypt sensitive configuration in the database.
# If not set, a temporary key will be generated (data lost on restart).
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
SEERRBRIDGE_MASTER_KEY=GIVE-ME-A-KEY