Allow custom fdb.cluster file content

This commit is contained in:
Sergey Sudakovich 2020-05-01 15:41:17 -07:00 committed by Sergey Sudakovich
parent 8b733c7ca3
commit 3814b412fe
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function create_server_environment() {
fi
echo "export PUBLIC_IP=$public_ip" >> $env_file
if [[ -z $FDB_COORDINATOR ]]; then
if [[ -z $FDB_COORDINATOR && -z "$FDB_CLUSTER_FILE_CONTENTS" ]]; then
FDB_CLUSTER_FILE_CONTENTS="docker:docker@$public_ip:$FDB_PORT"
fi