No need to expose 5432 to external network?

This commit is contained in:
Aaron Louie 2020-02-07 12:52:40 -05:00
parent dfd5282895
commit a67c2af6d5
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ services:
volumes: volumes:
- ./pg-init-scripts/initdb.sh:/docker-entrypoint-initdb.d/initdb.sh - ./pg-init-scripts/initdb.sh:/docker-entrypoint-initdb.d/initdb.sh
ports: ports:
- "5432:5432" - "5432"
environment: environment:
- POSTGRES_USER=crc_user - POSTGRES_USER=crc_user
- POSTGRES_PASSWORD=crc_pass - POSTGRES_PASSWORD=crc_pass