mirror of
https://github.com/waku-org/go-waku-compose.git
synced 2025-02-22 08:58:06 +00:00
fix: use volume for PG data
This commit is contained in:
parent
41a4490999
commit
7c53b4ba4c
@ -109,6 +109,7 @@ services:
|
||||
volumes:
|
||||
- ./postgres_cfg/postgresql.conf:/etc/postgresql/postgresql.conf:Z
|
||||
- ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql:Z
|
||||
- ${PG_DATA_DIR:-./postgresql}:/var/lib/postgresql/data:Z
|
||||
command: postgres -c config_file=/etc/postgresql/postgresql.conf
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d db_prod"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user