zmq params, exec order

This commit is contained in:
vdo 2022-06-08 13:41:37 +01:00
parent 1fd10d8cde
commit 7b4495d551
3 changed files with 9 additions and 5 deletions

4
data/monero-lws/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View file

@ -35,7 +35,7 @@ x-traefik-command-nole: &traefik-command-nole
x-monerod-command: &monerod-command x-monerod-command: &monerod-command
command: >- command: >-
--public-node --no-igd --no-zmq --public-node --no-igd
--enable-dns-blocklist --rpc-restricted-bind-ip=0.0.0.0 --enable-dns-blocklist --rpc-restricted-bind-ip=0.0.0.0
--rpc-restricted-bind-port=${MONEROD_RESTRICTED_RPC_PORT} --confirm-external-bind --rpc-restricted-bind-port=${MONEROD_RESTRICTED_RPC_PORT} --confirm-external-bind
--zmq-pub tcp://0.0.0.0:${MONEROD_ZMQ_PUB_PORT}--zmq-rpc-bind-port=${MONEROD_ZMQ_RPC_PORT} --zmq-rpc-bind-ip=0.0.0.0 --zmq-pub tcp://0.0.0.0:${MONEROD_ZMQ_PUB_PORT}--zmq-rpc-bind-port=${MONEROD_ZMQ_RPC_PORT} --zmq-rpc-bind-ip=0.0.0.0
@ -85,7 +85,7 @@ x-monero-lws-service: &monero-lws-service
restart: unless-stopped restart: unless-stopped
command: >- command: >-
--rest-server http://0.0.0.0:8000 --daemon=tcp://monerod:${MONEROD_ZMQ_RPC_PORT} --rest-server http://0.0.0.0:8000 --daemon=tcp://monerod:${MONEROD_ZMQ_RPC_PORT}
--sub=tcp://monerod:${MONEROD_ZMQ_SUB_PORT} --log-level=4 --sub=tcp://monerod:${MONEROD_ZMQ_PUB_PORT} --log-level=4
--confirm-external-bind --confirm-external-bind
volumes: volumes:
- ./data/monero-lws:/home/monero-lws/.bitmonero/ - ./data/monero-lws:/home/monero-lws/.bitmonero/

View file

@ -340,7 +340,7 @@ configure_grafana() {
configure_watchtower() { configure_watchtower() {
echo -e "${OkBullet}Configuring watchtower..." echo -e "${OkBullet}Configuring watchtower..."
while true; do while true; do
read -r -e -p " Do you want to enable automatic updates using watchtower? [y/n]: " yn read -r -e -p " Do you want to enable automatic node updates using watchtower? [y/n]: " yn
case $yn in case $yn in
[Yy]*) [Yy]*)
sed -i '/#!watchtower/s/# //g' docker-compose.yml sed -i '/#!watchtower/s/# //g' docker-compose.yml
@ -435,13 +435,13 @@ configure_network
configure_tls_domain configure_tls_domain
configure_tls_port configure_tls_port
configure_pruning configure_pruning
configure_lws
configure_cors configure_cors
configure_tor configure_tor
configure_lws
# Deployment of explorer disabled until it's stable. # Deployment of explorer disabled until it's stable.
# configure_explorer # configure_explorer
configure_watchtower
configure_grafana configure_grafana
configure_watchtower
start_xmrsh start_xmrsh
completed completed