sp4-rwx-test/workers/worker-svc/.env.example
jordan f1c9ba2f2e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add components: service/auth-svc, service/chat-svc, worker/worker-svc
2026-02-06 22:31:49 +00:00

24 lines
455 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-rwx-test?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