mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-10 07:11:00 +00:00
24 lines
414 B
YAML
24 lines
414 B
YAML
services:
|
|
configurator:
|
|
environment:
|
|
DB_HOST: db
|
|
DB_PORT: 5432
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
|
|
db:
|
|
image: postgres:14.1
|
|
healthcheck:
|
|
test: pg_isready
|
|
interval: 1s
|
|
retries: 15
|
|
command: []
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD:?No db password set}
|
|
volumes:
|
|
- db-data:/var/lib/postgresql
|
|
|
|
volumes:
|
|
db-data:
|