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 }}
|
image: {{ open_asfa_db_image }}
|
||||||
networks:
|
networks:
|
||||||
- {{ open_asfa_docker_network }}
|
- {{ open_asfa_docker_network }}
|
||||||
ports:
|
# ports:
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in New Issue