I’m trying to migrate manual installation to docker deployment. I successfully imported Db to the new docker deployment, yet all configuration settings have defaulted. Why is that so? How can I import old server settings?
I used exactly mongodump --archive=dump.gz --gzip to backup
and docker-compose exec -i <container id> mongorestore --archive --gzip < /tmp/dump.gz
also I executed docker exec -i <container id> mongod repair