Initial commit: LogHive centralized log management system

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
v6ole
2026-05-09 14:55:14 +08:00
commit abfd07331e
54 changed files with 3816 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
services:
# ── LogHive Backend API ───────────────────────────────────
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8000:8000"
env_file:
- .env
# ── Celery Worker ─────────────────────────────────────────
celery_worker:
build:
context: ./backend
dockerfile: Dockerfile
command: celery -A celery_worker.celery_app worker --loglevel=info
env_file:
- .env
depends_on:
- backend
# ── Celery Beat (periodic tasks) ──────────────────────────
celery_beat:
build:
context: ./backend
dockerfile: Dockerfile
command: celery -A celery_worker.celery_app beat --loglevel=info
env_file:
- .env
depends_on:
- backend
# ── LogHive Frontend (Vue 3) ──────────────────────────────
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:80"
depends_on:
- backend