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
|
||||
- ${PG_DATA_DIR:-./postgresql}:/var/lib/postgresql/data:Z
|
||||
command: postgres -c config_file=/etc/postgresql/postgresql.conf
|
||||
ports: []
|
||||
# - 127.0.0.1:5432:5432
|
||||
ports:
|
||||
- 127.0.0.1:5432:5432
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
||||
interval: 30s
|
||||
|
|
Loading…
Reference in New Issue