2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-14 00:54:07 +00:00
frappe_docker/overrides/compose.postgres.yml
2021-12-14 16:16:47 +03:00

21 lines
379 B
YAML

services:
backend:
image: frappe/frappe-worker:${FRAPPE_VERSION}
environment:
DB_HOST: db
DB_PORT: 5432
depends_on:
- db
db:
image: postgres:14.1
healthcheck:
test: pg_isready
interval: 1s
retries: 15
command: []
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- db:/var/lib/postgresql