mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 05:45:09 +00:00
23 lines
435 B
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:
|