PiTiNiNjA
New Pleskian
Hello
I installed MongoDB with Docker on my Plesk server. It allows remote connections by default, and I would like to change that.
Usually I disable remote access by setting bind_ip to 127.0.0.1 in the mongodb.conf file, but I can't find any / don't know how to use configuration file with Docker.
I read you can add a --bind_ip 127.0.0.1 argument to the Docker run command but according to this thread it is not possible on Plesk.
So how can I disable remote access?
Thank you for your time!
I installed MongoDB with Docker on my Plesk server. It allows remote connections by default, and I would like to change that.
Usually I disable remote access by setting bind_ip to 127.0.0.1 in the mongodb.conf file, but I can't find any / don't know how to use configuration file with Docker.
I read you can add a --bind_ip 127.0.0.1 argument to the Docker run command but according to this thread it is not possible on Plesk.
So how can I disable remote access?
Thank you for your time!