Do not expose the postgresql port at all.

This commit is contained in:
Andrea Dell'Amico 2020-10-14 15:41:17 +02:00
parent 498c545eb8
commit 8a9b6ee605
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ services:
image: {{ open_asfa_db_image }}
networks:
- {{ open_asfa_docker_network }}
ports:
- 5432
# ports:
# - 5432
volumes:
- {{ open_asfa_db_volume }}:/var/lib/postgresql/data/pg_data
- {{ open_asfa_compose_dir }}/pg-create-user-db.sh:/docker-entrypoint-initdb.d/pg-create-user-db.sh:ro