Initial commit: LogHive centralized log management system
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# LogHive Environment Configuration
|
||||
|
||||
# ── API ─────────────────────────────────────────────────────
|
||||
API_HOST=0.0.0.0
|
||||
API_PORT=8000
|
||||
DEBUG=false
|
||||
CORS_ORIGINS=*
|
||||
|
||||
# ── Security ────────────────────────────────────────────────
|
||||
SECRET_KEY=change-me-to-a-random-string
|
||||
TOKEN_EXPIRE_HOURS=720
|
||||
|
||||
# ── PostgreSQL ──────────────────────────────────────────────
|
||||
DATABASE_URL=postgresql+asyncpg://LogHive:LogHive@localhost:5432/LogHive
|
||||
|
||||
# ── Redis ───────────────────────────────────────────────────
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
CELERY_BROKER_URL=redis://localhost:6379/1
|
||||
CELERY_RESULT_BACKEND=redis://localhost:6379/2
|
||||
|
||||
# ── Log Retention ───────────────────────────────────────────
|
||||
LOG_RETENTION_DAYS=30
|
||||
LOG_COLD_STORAGE_DAYS=7
|
||||
|
||||
# ── Notifications (optional) ────────────────────────────────
|
||||
FEISHU_WEBHOOK_URL=
|
||||
DINGTALK_WEBHOOK_URL=
|
||||
Reference in New Issue
Block a user