-
Notifications
You must be signed in to change notification settings - Fork 81
Best way to set up authentication #11
Comments
Yes, authentication could be setup using environment variables and a procedure in the existing startup script |
Awesome! I can make a PR later this week unless you know how you'd do it already. |
Ok, please proceed. I do not have it ready. |
Error relocating /usr/bin/mongod: pthread_setattr_default_np: symbol not found |
@wupeaking I got that too but it's a separate issue to this one. You should On Wed, 9 Nov 2016 at 09:35, wupeaking [email protected] wrote:
|
@roborourke https://hub.docker.com/r/ulboralabs/alpine-mongodb/~/dockerfile/ you can try this... |
Hi I would like to know how to start this container with auth? Or how to setup auth after starting the container? |
@ShanikaEdiriweera you can try this |
Thanks for this container - I'd ideally use it within a docker-compose based network and not have it publicly facing at all but I'm testing out zeit.co's now tool and it only supports a single Dockerfile or package.json.
The simplest approach in my mind is to add some environment variables for a user & password that can be overridden on run/deploy. If set then we can enable auth with those details.
Is this something you'd want to support directly in this repo or are there other better approaches you can think of?
The text was updated successfully, but these errors were encountered: