Files
nfoguard/nfoguard-web/.env.web.example
T
2025-10-22 21:27:03 -04:00

57 lines
1.5 KiB
Bash

# ===========================================
# NFOGuard Web Interface Configuration
# ===========================================
# Configuration for the separated web interface container
# ===========================================
# WEB SERVER SETTINGS
# ===========================================
# Web interface server configuration
WEB_HOST=0.0.0.0
WEB_PORT=8081
WEB_WORKERS=1
WEB_DEBUG=false
# Core NFOGuard API connection
CORE_API_HOST=nfoguard
CORE_API_PORT=8080
# ===========================================
# DATABASE CONFIGURATION (READ ACCESS)
# ===========================================
# Same database as core NFOGuard but optimized for web queries
DB_TYPE=postgresql
DB_HOST=nfoguard-db
DB_PORT=5432
DB_NAME=nfoguard
DB_USER=nfoguard
# Set DB_PASSWORD in .env.secrets file
# ===========================================
# WEB INTERFACE AUTHENTICATION
# ===========================================
# Optional authentication for web interface
WEB_AUTH_ENABLED=false
WEB_AUTH_USERNAME=admin
# Set WEB_AUTH_PASSWORD in .env.secrets file
WEB_AUTH_SESSION_TIMEOUT=3600
# ===========================================
# UI CUSTOMIZATION
# ===========================================
# Application branding
APP_TITLE=NFOGuard
APP_SUBTITLE=Database Management & Reporting
# Interface settings
PAGINATION_LIMIT=50
REFRESH_INTERVAL=30
# Logo configuration
LOGO_ENABLED=true
# ===========================================
# TIMEZONE CONFIGURATION
# ===========================================
# Must match core NFOGuard timezone
TZ=America/New_York