Close the external PostgreSQL port
This commit is contained in:
committed by
iPromKnight
parent
875d79b44d
commit
bc2c36b92f
@@ -39,8 +39,11 @@ services:
|
||||
- .env
|
||||
environment:
|
||||
PGUSER: postgres # needed for healthcheck.
|
||||
ports:
|
||||
- "5432:5432"
|
||||
# # If you need the network to be accessible from outside, please open the below port.
|
||||
# # Furthermore, please, please, please, change the username and password above.
|
||||
# # If you want to enhance your security even more, create a new user for the database with a strong password.
|
||||
# ports:
|
||||
# - "5432:5432"
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
healthcheck: *postgresdb-health
|
||||
|
||||
Reference in New Issue
Block a user