Files
NexaPG/.env.example
nessi f12dd46c21 Add database overview feature with metrics and UI enhancements
This commit introduces a detailed database overview endpoint and service, providing key metrics such as replication status, database sizes, and performance indicators. On the frontend, a new UI section displays these metrics along with improved forms and troubleshooting tips. Enhancements improve user experience by adding informative tooltips and formatting for byte and time values.
2026-02-12 10:00:13 +01:00

29 lines
726 B
Plaintext

# App
APP_NAME=NexaPG Monitor
ENVIRONMENT=dev
LOG_LEVEL=INFO
# Core DB
DB_NAME=nexapg
DB_USER=nexapg
DB_PASSWORD=nexapg
DB_PORT=5433
# Backend
BACKEND_PORT=8000
JWT_SECRET_KEY=change_this_super_secret
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_MINUTES=15
JWT_REFRESH_TOKEN_MINUTES=10080
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
ENCRYPTION_KEY=REPLACE_WITH_FERNET_KEY
# Dev: set to * to allow all origins (credentials disabled automatically)
CORS_ORIGINS=http://localhost:5173,http://localhost:8080
POLL_INTERVAL_SECONDS=30
INIT_ADMIN_EMAIL=admin@example.com
INIT_ADMIN_PASSWORD=ChangeMe123!
# Frontend
FRONTEND_PORT=5173
VITE_API_URL=http://localhost:8000/api/v1