Docker: expose port 18083 together with RPC port

This commit is contained in:
SChernykh 2023-09-06 19:26:23 +02:00
parent 8d9b9e505e
commit 8fd45cc977
2 changed files with 2 additions and 1 deletions

View file

@ -111,7 +111,7 @@ class MoneroHelpBox(HelpBoxBase):
], ],
"Expose RPC Port": [ "Expose RPC Port": [
"Expose restricted RPC API port to your network so external services", "Expose restricted RPC API port to your network so external services",
"(wallets for example) can connect", "(wallets for example) can connect. Port 18083 (ZMQ-pub) will also be exposed.",
"Note: You may choose to open this port in your hosts firewall and/or", "Note: You may choose to open this port in your hosts firewall and/or",
" router to allow services outside your network to connect", " router to allow services outside your network to connect",
], ],

View file

@ -109,6 +109,7 @@ services:
- 18080:18080/tcp - 18080:18080/tcp
{% if expose_rpc_port == True %} {% if expose_rpc_port == True %}
- {{ rpc_port }}:18081/tcp - {{ rpc_port }}:18081/tcp
- 18083:18083/tcp
{% endif %} {% endif %}
volumes: volumes:
- monero:/home/monero/.bitmonero:rw - monero:/home/monero/.bitmonero:rw