Skip to content

Commit

Permalink
chore: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque authored Sep 21, 2023
1 parent b9334b5 commit f5f3cfd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,12 @@ Adapter can be 'postgres' (recommended) or 'sqlite' (non production use only).

For investigations/spikes you can use SQlite. It is not supported as a production database, as it does not support concurrent requests. Additionally, unless you mount it from an external volume, the database will be disposed of when the container shuts down.

* `PACT_BROKER_DATABASE_ADAPTER` (set to `sqlite`)
* `PACT_BROKER_DATABASE_NAME` (arbitrary file in the `/tmp` directory eg. `/tmp/pact_broker.sqlite3`)
* `PACT_BROKER_DATABASE_ADAPTER="sqlite"`
* `PACT_BROKER_DATABASE_NAME="/tmp/pact_broker.sqlite3"` (arbitrary file a directory which is writeable by the application process, recommended to use `/tmp`)

OR

* `PACT_BROKER_DATABASE_URL="sqlite:////tmp/pact_broker.sqlte3"`

See the [database section](https://docs.pact.io/pact_broker/configuration/settings/#database) of the Pact Broker configuration docs for all the database configuration options available.

Expand Down

0 comments on commit f5f3cfd

Please sign in to comment.