- Frontend: rewrite Home.vue to match backend POST /jobs API (remove single-stage options) - Frontend: add Monitor page (/monitor) for queue and job monitoring - Frontend: add job history with localStorage tracking (per-browser) - Frontend: fix Nginx proxy rewrite (/api -> /) and add 500MB upload limit - Backend: add MinIO storage support (STORAGE_BACKEND=minio) alongside local mode - Backend: add GET /queues/stats API for queue monitoring - Backend: fix download handler for MinIO (buffer mode for Node 18 compat) - Workers: add S3/MinIO download/upload in consumer.py with isolated temp dirs - Workers: add s3_storage.py helper with lifecycle rule (7-day TTL) - Docker: add docker-compose.yml with all services (web, scheduler, redis, workers) - Docker: ports mapped to 9500 (web) and 9501 (scheduler) - Config: add .env to .gitignore to protect secrets Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
563 B
Plaintext
24 lines
563 B
Plaintext
# Task Scheduler Configuration
|
|
PORT=4000
|
|
NODE_ENV=development
|
|
|
|
# Redis
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# Job data directory (shared volume with workers)
|
|
JOB_DATA_DIR=/data/jobs
|
|
|
|
# Frontend URL (for CORS)
|
|
FRONTEND_URL=http://localhost:3000
|
|
|
|
# Storage backend: "local" (shared volume) or "minio"
|
|
STORAGE_BACKEND=local
|
|
|
|
# MinIO settings (only used when STORAGE_BACKEND=minio)
|
|
MINIO_ENDPOINT_URL=http://192.168.0.130:9000
|
|
MINIO_BUCKET=convertet-working-space
|
|
MINIO_ACCESS_KEY=convuser
|
|
MINIO_SECRET_KEY=your-secret-here
|
|
MINIO_REGION=us-east-1
|
|
MINIO_LIFECYCLE_DAYS=7
|