feat: seperate webintreface

This commit is contained in:
2025-10-22 10:35:23 -04:00
committed by sbcrumb
parent c84d08b266
commit decad07a0d
21 changed files with 4900 additions and 25 deletions
+57
View File
@@ -0,0 +1,57 @@
# ===========================================
# 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