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
Just noticed that in the docker logs it will show this:
mongo_seed_1 | 2019-06-18T03:48:24.527Z mongo-seeding Connecting to mongodb://user:pass@mongodb:27017/db...
I'm using the dockerfile, I recommend to add a env as follows HIDE_CREDS=true
If set, I think it would make sense to have an environment variable to mask the user:pass like this:
mongodb://HIDDEN_USER:HIDDEN_PASS@mongodb:27017/db...
That way, anybody viewing the logs doesn't automatically have access to the user/pass.
The text was updated successfully, but these errors were encountered:
Just noticed that in the docker logs it will show this:
I'm using the dockerfile, I recommend to add a env as follows
HIDE_CREDS=true
If set, I think it would make sense to have an environment variable to mask the user:pass like this:
mongodb://HIDDEN_USER:HIDDEN_PASS@mongodb:27017/db...
That way, anybody viewing the logs doesn't automatically have access to the user/pass.
The text was updated successfully, but these errors were encountered: