aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlexander Azarov <azarov@osinka.ru>2017-12-14 23:07:12 +0200
committerAlexander Azarov <azarov@osinka.ru>2017-12-14 23:11:30 +0200
commita7e2e1b07f6209a1fd1b377ad0c67846d32cdb84 (patch)
tree999b6df9b67ea726872f087f40bb19285680a9cc /Dockerfile
parentMerge pull request #2913 (diff)
downloadmonero-a7e2e1b07f6209a1fd1b377ad0c67846d32cdb84.tar.xz
fix: bind RPC to all interfaces inside Docker container
Binding RPC to 127.0.0.1 makes no sense. Despite the fact port 18081 is exposed, no one will be able to connect to the daemon. RPC should be listening at all interfaces when running inside a Docker container.
Diffstat (limited to '')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 71b0658a0..8571b38a8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -45,4 +45,4 @@ VOLUME /wallet
EXPOSE 18080
EXPOSE 18081
-ENTRYPOINT ["monerod", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=127.0.0.1", "--rpc-bind-port=18081", "--non-interactive"]
+ENTRYPOINT ["monerod", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=18081", "--non-interactive", "--confirm-external-bind"]