mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-10 15:20:55 +00:00
23 lines
389 B
YAML
23 lines
389 B
YAML
|
version: "3.9"
|
||
|
|
||
|
services:
|
||
|
backend:
|
||
|
image: frappe/backend:${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
|