Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit725bc37

Browse files
fix: restrict database access from outside in docker compose installation (#18229)
Co-authored-by: Atif Ali <atif@coder.com>
1 parent738442b commit725bc37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎docker-compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ services:
3232
# Minimum supported version is 13.
3333
# More versions here: https://hub.docker.com/_/postgres
3434
image:"postgres:17"
35-
ports:
36-
-"5432:5432"
35+
# Uncomment the next two lines to allow connections to the database from outside the server.
36+
#ports:
37+
# - "5432:5432"
3738
environment:
3839
POSTGRES_USER:${POSTGRES_USER:-username}# The PostgreSQL user (useful to connect to the database)
3940
POSTGRES_PASSWORD:${POSTGRES_PASSWORD:-password}# The PostgreSQL password (useful to connect to the database)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp