mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-09-13 12:30:35 +08:00
set default value of REPLICATION_SSLMODE to prefer
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ initialize_database() {
|
|||||||
slave|snapshot)
|
slave|snapshot)
|
||||||
# default params
|
# default params
|
||||||
REPLICATION_PORT=${REPLICATION_PORT:-5432}
|
REPLICATION_PORT=${REPLICATION_PORT:-5432}
|
||||||
REPLICATION_SSLMODE=${REPLICATION_SSLMODE:-disable}
|
REPLICATION_SSLMODE=${REPLICATION_SSLMODE:-prefer}
|
||||||
|
|
||||||
if [[ -z $REPLICATION_HOST ]]; then
|
if [[ -z $REPLICATION_HOST ]]; then
|
||||||
echo "ERROR! Cannot continue without the REPLICATION_HOST. Exiting..."
|
echo "ERROR! Cannot continue without the REPLICATION_HOST. Exiting..."
|
||||||
|
|||||||
Reference in New Issue
Block a user