frappe_docker/overrides/compose.postgres.yaml

23 lines
435 B
YAML

services:
configurator:
environment:
DB_HOST: db
DB_PORT: "5432"
depends_on:
db:
condition: service_healthy
db:
image: postgres:15.17
command: []
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
retries: 5
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD:-123}
volumes:
- db-data:/var/lib/postgresql/data
volumes:
db-data: