diff --git a/docker-compose.yml b/docker-compose.yml index c77543f..009bc77 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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