-
Notifications
You must be signed in to change notification settings - Fork 1.2k
PostgreSQL image is open to the world #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That is a file in the volume and thus configurable or replaceable by the user. Besides, all containers are inside the NAT and only exposed to external networking with You can also disable icc to prevent all containers from talking to it as well (excepting those connected with --link). https://docs.docker.com/articles/networking/ |
Indeed, I'd echo what @yosifkit has said - if you disable inter-container-communication via |
Thanks for your comments and opinion on this. |
Hi,
is there any good reason I am not aware of why this postgres installation should be open to the world by this line inside docker-entrypoint.sh:
host all all 0.0.0.0/0 trust
Isn't it a better way to allow the postgres user to authenticate via password and set a default password once at startup. This way the password can be changed after starting the container via psql.
Best regards
Ingo
The text was updated successfully, but these errors were encountered: