mirror of
https://github.com/waku-org/nwaku-compose.git
synced 2025-02-02 18:43:33 +00:00
docker-compose: expose postgres port by default to be accessible locally (#82)
This commit is contained in:
parent
7844f63688
commit
84be3c59e4
@ -119,8 +119,8 @@ services:
|
|||||||
- ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql:Z
|
- ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql:Z
|
||||||
- ${PG_DATA_DIR:-./postgresql}:/var/lib/postgresql/data:Z
|
- ${PG_DATA_DIR:-./postgresql}:/var/lib/postgresql/data:Z
|
||||||
command: postgres -c config_file=/etc/postgresql/postgresql.conf
|
command: postgres -c config_file=/etc/postgresql/postgresql.conf
|
||||||
ports: []
|
ports:
|
||||||
# - 127.0.0.1:5432:5432
|
- 127.0.0.1:5432:5432
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user