mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-06 01:36:45 +01:00
22 lines
482 B
YAML
22 lines
482 B
YAML
version: '3.9'
|
|
services:
|
|
postgres:
|
|
image: postgres:14-alpine
|
|
restart: unless-stopped
|
|
user: postgres
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_DB=cic_indexer
|
|
volumes:
|
|
- cic-indexer-pg:/var/lib/postgresql/data
|
|
ports:
|
|
- '5432:5432'
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
volumes:
|
|
cic-indexer-pg:
|
|
driver: local |