-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (16 loc) · 761 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (16 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copy to .env and adjust. The server reads these (CLI flags override env).
# PostgreSQL connection string (any plain PostgreSQL 13+; no extensions).
DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres
# Used only by `make test-pg` / the Postgres integration tests.
TEST_DATABASE_URL=postgres://postgres:postgres@localhost:5432/queueflow_test
# Server tuning (all optional; shown with their defaults).
QUEUEFLOW_MODE=all
QUEUEFLOW_API_PORT=8000
QUEUEFLOW_METRICS_PORT=9090
QUEUEFLOW_WORKERS=10
QUEUEFLOW_DEFAULT_QUEUE=default
# Delete terminal jobs/workflows/dead letters older than this many hours.
# Unset (the default) keeps history forever.
# QUEUEFLOW_RETENTION_HOURS=168
# Log filter (tracing-subscriber EnvFilter syntax).
RUST_LOG=info