sp4-otel-1770451322/workers/worker-svc/.env.example
jordan b2a4a082bb
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add components: service/auth-svc, service/chat-svc, worker/worker-svc
2026-02-07 08:02:09 +00:00

24 lines
462 B
Plaintext

# worker-svc Worker Configuration
# App
APP_NAME=worker-svc
APP_ENVIRONMENT=development
APP_DEBUG=true
# Logging
LOG_LEVEL=debug
LOG_FORMAT=text
# Database (required for job queue)
DATABASE_URL=postgres://dev:dev@localhost:5432/sp4-otel-1770451322?sslmode=disable
# Worker
WORKER_POLL_INTERVAL=10s
WORKER_BATCH_SIZE=10
WORKER_MAX_RETRIES=3
WORKER_STALE_JOB_TIMEOUT=5m
WORKER_JOB_TIMEOUT=5m
# Redis (optional, for cache)
# REDIS_URL=redis://localhost:6379/0