synth.download/phosphorus/srv/docker/postgres/compose.yaml

22 lines
452 B
YAML
Raw Normal View History

2025-07-19 23:52:19 -05:00
services:
db:
# custom image for docker with pgroonga support
image: groonga/pgroonga:latest-alpine-17
restart: always
shm_size: 6GB
volumes:
- ./db:/var/lib/postgresql/data
- ./exp:/exp
2025-07-19 23:52:19 -05:00
networks:
- postgres_db
env_file:
- .env
healthcheck:
test: "pg_isready -U postgres -d postgres"
interval: 40s
retries: 20
networks:
postgres_db:
name: postgres_db
driver: bridge