Skip to content

Commit

Permalink
update to mongo 7
Browse files Browse the repository at this point in the history
  • Loading branch information
allanchau committed Feb 19, 2024
1 parent c7bd9d5 commit b2f2a45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/c-mongo-download.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion bin/c-mongo-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b2f2a45

Please sign in to comment.