Quantcast
Channel: Active questions tagged mongodb-atlas - Stack Overflow
Viewing all articles
Browse latest Browse all 280

Create a custom image using from mongodb/mongodb-atlas-local

$
0
0

Im trying to create a custom image for my local development purposes using the mongodb/mongodb-atlas-local image.However if my docker entrypoint uses the regular FOSS mongo starting command:

mongod --replSet ${REPLICA_SET_NAME} --port ${SERVICE_PORT} --bind_ip_all

I get the following when trying to utilize search index capabilities:

MongoServerError: Using Atlas Search Database Commands and the $listSearchIndexes aggregation stage requires additional configuration. Please connect to Atlas or an AtlasCLI local deployment to enable. For more information on how to connect, see https://dochub.mongodb.org/core/atlas-cli-deploy-local-reqs.

So instead i used this entrypoint /usr/local/bin/runner server however it doesnt expose the settings i need (replica name for example).
How would you do set up the docker with custom mongo set up flags?


i saw that you can use the atlas cli however i need a custom built docker image.


Viewing all articles
Browse latest Browse all 280

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>