You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like #339 (comment)
The docker-entrypoint-initdb.d scripts run during an initialization period (and only if the database is empty), during which the container is only listening on localhost so trying to initiate a cluster during that period isn't possible as it won't resolve it's own container hostname.
I need the following mongorc.js when starting mongodb
However, it does not work when I mount it to
/etc/mongorc.js
or/home/mongodb/.mongorc.js
or in/docker-entrypoint-initdb.d/
Where should I mount it? If mongorc.js is disabled, is there any substitution?
The text was updated successfully, but these errors were encountered: