Files
stacks-blockchain-api/docker/docker-compose.dev.postgres.yml
Rafael Cárdenas 6fe829c05b feat!: add mempool endpoint cache handlers (#1115)
* feat: add mempool digest materialized view

* fix: only use bit_xor if we're on pg14+

* chore: update pg version to 14 on docker compose

* feat: install mempool cache handler, add chain tip handler to other endpoints

* fix: comment tweaks

* fix: only error on missing chain_tip etags

* chore: add tests

* fix: check if bit_xor is available instead of pg version

* chore: add note about pg14 to readme

* feat: add mempool specific metrics

* style: readme spacing

* fix: set an explicit empty value for etags

* fix: empty value vs null value
2022-03-25 08:22:54 -06:00

12 lines
241 B
YAML

version: '3.7'
services:
postgres:
image: "postgres:14"
ports:
- "5490:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: stacks_blockchain_api
POSTGRES_PORT: 5432