File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,6 @@ ENTRYPOINT ["docker-entrypoint.sh"]
109
109
110
110
STOPSIGNAL SIGINT
111
111
112
- EXPOSE 5432 5866
112
+ EXPOSE 5432 5866 1521
113
113
114
114
CMD ["postgres" ]
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ docker_init_database_dir() {
91
91
# --pwfile refuses to handle a properly-empty file (hence the "\n"): https://github.com/docker-library/postgres/issues/1025
92
92
eval ' initdb --username="$IVORYSQL_USER" --pwfile=<(printf "%s\n" "$IVORYSQL_PASSWORD") ' " $IVORYSQL_INITDB_ARGS " ' "$@"'
93
93
sed -ri " s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" $PGDATA /postgresql.conf
94
+ sed -ri " s!^#?(ivorysql.listen_addresses)\s*=\s*\S+.*!\1 = '*'!" $PGDATA /ivorysql.conf
94
95
# unset/cleanup "nss_wrapper" bits
95
96
if [[ " ${LD_PRELOAD:- } " == * /libnss_wrapper.so ]]; then
96
97
rm -f " $NSS_WRAPPER_PASSWD " " $NSS_WRAPPER_GROUP "
Original file line number Diff line number Diff line change @@ -103,6 +103,6 @@ ENTRYPOINT ["docker-entrypoint.sh"]
103
103
104
104
STOPSIGNAL SIGINT
105
105
106
- EXPOSE 5432 5866
106
+ EXPOSE 5432 5866 1521
107
107
108
108
CMD ["postgres"]
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ docker_init_database_dir() {
91
91
# --pwfile refuses to handle a properly-empty file (hence the "\n"): https://github.com/docker-library/postgres/issues/1025
92
92
eval ' initdb --username="$IVORYSQL_USER" --pwfile=<(printf "%s\n" "$IVORYSQL_PASSWORD") ' " $IVORYSQL_INITDB_ARGS " ' "$@"'
93
93
sed -ri " s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" $PGDATA /postgresql.conf
94
+ sed -ri " s!^#?(ivorysql.listen_addresses)\s*=\s*\S+.*!\1 = '*'!" $PGDATA /ivorysql.conf
94
95
# unset/cleanup "nss_wrapper" bits
95
96
if [[ " ${LD_PRELOAD:- } " == * /libnss_wrapper.so ]]; then
96
97
rm -f " $NSS_WRAPPER_PASSWD " " $NSS_WRAPPER_GROUP "
You can’t perform that action at this time.
0 commit comments