Pinepack reads configuration from environment variables first, falling back to a pinepack.config.json file in the project root if present.
| variable | description | default |
|---|---|---|
PINEPACK_CONNECTION | SQLite path or Postgres connection string | ./pinepack.db |
PINEPACK_RETRIES | default retry count for new queues | 3 |
PINEPACK_BACKOFF | fixed or exponential | exponential |
PINEPACK_CONCURRENCY | max jobs processed in parallel per worker | 4 |
{
"connection": "postgres://user:pass@localhost/pinepack",
"retries": 5,
"backoff": "exponential",
"concurrency": 8
}
Values in pinepack.config.json are overridden by any matching environment variable at process start.