Do not publish the postgresql port on the public network

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

View File

@ -50,7 +50,7 @@ services:
networks: networks:
- {{ open_asfa_docker_network }} - {{ open_asfa_docker_network }}
ports: ports:
- 5432:5432 - 5432
volumes: volumes:
- {{ open_asfa_db_volume }}:/var/lib/postgresql/data/pg_data - {{ 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 - {{ open_asfa_compose_dir }}/pg-create-user-db.sh:/docker-entrypoint-initdb.d/pg-create-user-db.sh:ro