Init first files
This commit is contained in:
27
ops/.env.example
Normal file
27
ops/.env.example
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
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
|
||||
Reference in New Issue
Block a user