Compare commits

...

5 Commits

Author SHA1 Message Date
600593f4b1 Exposed port 50001
All checks were successful
Build / build (push) Successful in 3m29s
2024-09-20 22:44:39 -04:00
68afa54b36 Revert exposed port
All checks were successful
Build / build (push) Successful in 3m30s
2024-09-20 22:33:58 -04:00
e9fdd926ac Exposed port 8332
All checks were successful
Build / build (push) Successful in 3m35s
2024-09-20 19:36:59 -04:00
38b9bcb245 Removed rocksdb
All checks were successful
Build / build (push) Successful in 3m30s
2024-09-17 21:55:15 -04:00
ee2e72c517 Added ujson 2024-09-17 21:48:29 -04:00

View File

@@ -7,9 +7,9 @@ WORKDIR /
RUN apt-get update
RUN apt-get -y install git python3.10 python3-pip librocksdb-dev libsnappy-dev libbz2-dev libz-dev liblz4-dev
RUN apt-get -y install git python3.10 python3-pip libsnappy-dev libbz2-dev libz-dev liblz4-dev
RUN pip3 install multidict aiohttp pylru python-rocksdb
RUN pip3 install multidict aiohttp pylru ujson
RUN git clone -b $VERSION https://github.com/spesmilo/electrumx.git
@@ -20,7 +20,7 @@ ENV COIN=BitcoinSV
ENV DB_DIRECTORY=/db
ENV DAEMON_URL="http://username:password@hostname:port/"
ENV ALLOW_ROOT=true
ENV DB_ENGINE=rocksdb
ENV DB_ENGINE=leveldb
ENV MAX_SEND=10000000
ENV BANDWIDTH_UNIT_COST=50000
ENV CACHE_MB=2000
@@ -29,4 +29,6 @@ VOLUME /db
RUN mkdir -p "$DB_DIRECTORY"
EXPOSE 50001
CMD ["/usr/bin/python3", "/usr/local/bin/electrumx_server"]