Skip to content

mongo images need to support auth in config files  #176

@sdanieru

Description

@sdanieru

Our current setup for both production and dev deployments specify ssl parameters in a mongod.conf file; this is a common configuration approach and is endorsed by mongodb. Your recent changes to entrypoint.sh break backwards compatibility with any setups that use auth parameters in a config file. Specifically your check to connect to the db isn't compatible with auth specified in the config file.

We were lucky to pull one of your new images for a dev deployment and after investigation, discovered why the image was immediately shutting down after startup, but if we had deployed these images for our production systems, they all would have failed and we wouldn't have known why.

Since these are the 'official' mongo images on dockerhub, it seems reasonable that they support standard configuration: storing ssl and other auth parameters in config files. We sincerely hope that you restore support for this functionality.

At the very least, you should put a prominent warning in your documentation that the images in their current state do not support supplying auth/ssl params in config files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions