Skip to content

Commit

Permalink
change pgsql bind address
Browse files Browse the repository at this point in the history
  • Loading branch information
qww-ygg authored Mar 8, 2024
1 parent 4bb3b2c commit d8eaec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ _main() {

docker_setup_db
docker_process_init_files /docker-entrypoint-initdb.d/*
sed -i "s/^#listen_addresses =.*$/listen_addresses = '*'/" "$PGDATA/postgresql.conf"
sed -i "s/^#listen_addresses =.*$/listen_addresses = '*'/" "$PGDATA/postgresql.conf"
docker_temp_server_stop
unset PGPASSWORD

Expand Down

0 comments on commit d8eaec4

Please sign in to comment.