Do not expose the postgresql port at all.
This commit is contained in:
parent
498c545eb8
commit
8a9b6ee605
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue