diff --git a/bin/c-mongo-download.js b/bin/c-mongo-download.js index 8b144c0..5d16204 100644 --- a/bin/c-mongo-download.js +++ b/bin/c-mongo-download.js @@ -54,7 +54,7 @@ loadConfig(`mongo.${env}`) connection.volumes.length > 0 ? ` ${connection.volumes.join(' ')}` : '' - } --rm mongo:4.4 mongodump ${ + } --rm mongo:7 mongodump ${ connection.host ? connectionStringWithHost(connection) : connectionStringWithAddress(connection) diff --git a/bin/c-mongo-import.js b/bin/c-mongo-import.js index e1fd21c..d30e2ed 100644 --- a/bin/c-mongo-import.js +++ b/bin/c-mongo-import.js @@ -88,7 +88,7 @@ loadConfig('mongo') toDbConnection.volumes.length > 0 ? ` ${toDbConnection.volumes.join(' ')}` : '' - }${addHost} --rm mongo:4.4 mongorestore --noIndexRestore --drop ${ + }${addHost} --rm mongo:7 mongorestore --noIndexRestore --drop ${ toDbConnection.host ? connectionStringWithHost(toDbConnection) : connectionStringWithAddress(toDbConnection)