Provide a generic disk-backed FIFO queue with configurable path, retention, and dedup keys so consumers can buffer items across restarts without optional extras. Co-authored-by: Cursor <[email protected]>
20 lines
508 B
Bash
20 lines
508 B
Bash
# Redis (requires redis extra)
|
|
REDIS_URI=redis://localhost:6379
|
|
|
|
# MinIO (requires minio extra)
|
|
MINIO_ENDPOINT=localhost:9000
|
|
MINIO_ACCESS_KEY=minioadmin
|
|
MINIO_SECRET_KEY=minioadmin
|
|
MINIO_BUCKET=my-bucket
|
|
MINIO_SECURE=false
|
|
MINIO_CREATE_BUCKET_IF_MISSING=true
|
|
|
|
# Postgres (requires postgres extra)
|
|
POSTGRES_URI=postgresql://localhost/mydb
|
|
POSTGRES_TABLE=users
|
|
POSTGRES_PRIMARY_KEY=id
|
|
|
|
# File-backed queue (no optional extra)
|
|
FILE_QUEUE_PATH=/tmp/python-repositories-queue.jsonl
|
|
# FILE_QUEUE_MAX_AGE_HOURS=24
|