File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ ENV XMR_QUEUE_SIZE=10
1111ENV XMR_IPV6PUBSUPPORT=false
1212ENV XMR_RELAY_OLD_MESSAGES=false
1313ENV XMR_RELAY_MESSAGES=false
14+ ENV XMR_SOCKETS_WS=0.0.0.0:8080
15+ ENV XMR_SOCKETS_API=0.0.0.0:8081
16+ ENV XMR_SOCKETS_ZM_PORT=9505
1417
1518RUN apt-get update && apt-get install -y libzmq3-dev git \
1619 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33#
4- # Copyright (C) 2024 Xibo Signage Ltd
4+ # Copyright (C) 2025 Xibo Signage Ltd
55#
66# Xibo - Digital Signage - https://xibosignage.com
77#
2424# Write config.json
2525echo ' {' > /opt/xmr/config.json
2626echo ' "sockets": {' >> /opt/xmr/config.json
27- echo ' "ws": "0.0.0.0:8080 ",' >> /opt/xmr/config.json
28- echo ' "api": "0.0.0.0:8081 ",' >> /opt/xmr/config.json
29- echo ' "zmq": ["tcp://*:9505 "]' >> /opt/xmr/config.json
27+ echo ' "ws": "' $XMR_SOCKETS_WS ' ",' >> /opt/xmr/config.json
28+ echo ' "api": "' $XMR_SOCKETS_API ' ",' >> /opt/xmr/config.json
29+ echo ' "zmq": ["tcp://*:' $XMR_SOCKETS_ZM_PORT ' "]' >> /opt/xmr/config.json
3030echo ' },' >> /opt/xmr/config.json
3131echo ' "queuePoll": ' $XMR_QUEUE_POLL ' ,' >> /opt/xmr/config.json
3232echo ' "queueSize": ' $XMR_QUEUE_SIZE ' ,' >> /opt/xmr/config.json
You can’t perform that action at this time.
0 commit comments