diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index b39848f91d..5f1bc43711 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -103,6 +103,10 @@ if [[ "$MONGODB_DATABASE" ]]; then JQ_FILTERS_CONFIG="$JQ_FILTERS_CONFIG | .mongodb.database=\"$MONGODB_DATABASE\"" fi +if [[ "$MONGODB_SHARD_COLLECTIONS" ]]; then + JQ_FILTERS_CONFIG="$JQ_FILTERS_CONFIG | .mongodb.shardCollections=true" +fi + if [ -z "$REDIS_HA_NAME" ]; then REDIS_HA_NAME='mymaster' fi diff --git a/package.json b/package.json index 828db63598..1d430b5b51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zenko/cloudserver", - "version": "9.4.4", + "version": "9.5.0-preview.1", "description": "Zenko CloudServer, an open-source Node.js implementation of a server handling the Amazon S3 protocol", "main": "index.js", "engines": {