23 lines
No EOL
712 B
Text
23 lines
No EOL
712 B
Text
# Port on which the app runs
|
|
PORT=3000
|
|
|
|
# Hostname for the server
|
|
HOSTNAME=0.0.0.0
|
|
|
|
# NextAuth Configuration
|
|
# Secret for signing tokens (generate with: openssl rand -base64 32)
|
|
NEXTAUTH_SECRET=your-generated-secret-key
|
|
|
|
# Data directory for persistent storage (config, backups, database)
|
|
DATA_DIR=./data
|
|
|
|
# Admin username for login
|
|
ADMIN_USERNAME=admin
|
|
|
|
# Admin password hash (generated with bcryptjs)
|
|
# To generate a hash, run: node -e "console.log(require('bcryptjs').hashSync('your-password', 10))"
|
|
# Example hash for password 'admin': $2a$10$your-bcrypt-hash-here
|
|
ADMIN_PASSWORD_HASH=$2a$10$your-bcrypt-hash-here
|
|
|
|
# Optional: Polling interval for status checks (in milliseconds)
|
|
# STATUS_POLL_INTERVAL=30000 |