Doc: Resolves #15823: Docker compose template: Don't expose PostgreSQL container port (#15908)

This commit is contained in:
Henry Heino authored and GitHub committed 2026-07-13 21:32:41 +01:00
1 parent 34ea6c7d8e
commit ca7cc0fd31
1 file changed
+2 -2
+2 -2
View File
@@ -30,8 +30,8 @@ services:
- ./data/postgres:/var/lib/postgresql/data
networks:
- app-network
ports:
- "5432:5432"
# (Optional): Allow accessing the database using an external tool (e.g. `psql`) from the host:
# ports: [ "127.0.0.1:5432:5432" ]
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}