mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 18:48:58 +00:00
01a96f2c8d
because of the missing /data path, there was an issue wherein the data would be lost after docker compose down
19 lines
308 B
YAML
19 lines
308 B
YAML
services:
|
|
configurator:
|
|
environment:
|
|
DB_HOST: db
|
|
DB_PORT: 5432
|
|
depends_on:
|
|
- db
|
|
|
|
db:
|
|
image: postgres:13.5
|
|
command: []
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD:?No db password set}
|
|
volumes:
|
|
- db-data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
db-data:
|