Enable WebSocket port
This commit is contained in:
parent
8317befc76
commit
728780177c
@ -19,12 +19,12 @@ VOLUME ["/data"]
|
|||||||
ENV HOME /data
|
ENV HOME /data
|
||||||
ENV ALLOW_ROOT 1
|
ENV ALLOW_ROOT 1
|
||||||
ENV DB_DIRECTORY /data
|
ENV DB_DIRECTORY /data
|
||||||
ENV SERVICES=tcp://:50001,ssl://:50002
|
ENV SERVICES=tcp://:50001,ssl://:50002,wss://:50004
|
||||||
ENV SSL_CERTFILE ${DB_DIRECTORY}/electrumx.crt
|
ENV SSL_CERTFILE ${DB_DIRECTORY}/electrumx.crt
|
||||||
ENV SSL_KEYFILE ${DB_DIRECTORY}/electrumx.key
|
ENV SSL_KEYFILE ${DB_DIRECTORY}/electrumx.key
|
||||||
ENV HOST ""
|
ENV HOST ""
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
|
||||||
EXPOSE 50001 50002
|
EXPOSE 50001 50002 50004
|
||||||
|
|
||||||
CMD ["init"]
|
CMD ["init"]
|
||||||
|
|||||||
@ -29,6 +29,10 @@ You can view all ElectrumX environment variables here: https://github.com/kyuupi
|
|||||||
|
|
||||||
By default only the SSL port is exposed. You can expose the unencrypted TCP port with `-p 50001:50001`, although this is strongly discouraged.
|
By default only the SSL port is exposed. You can expose the unencrypted TCP port with `-p 50001:50001`, although this is strongly discouraged.
|
||||||
|
|
||||||
|
### WebSocket Port
|
||||||
|
|
||||||
|
You can expose the WebSocket port with `-p 50004:50004`.
|
||||||
|
|
||||||
### Version
|
### Version
|
||||||
|
|
||||||
You can also run a specific version of ElectrumX if you want.
|
You can also run a specific version of ElectrumX if you want.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user