forked from LBRYCommunity/lbry-sdk
install uvloop on wallet server docker image and default to it
This commit is contained in:
parent
b88832d0a9
commit
2145bfcabf
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,9 @@ RUN python3.7 -m pip install --upgrade pip setuptools
|
||||||
# get torba
|
# get torba
|
||||||
RUN python3.7 -m pip install --user git+https://github.com/lbryio/torba.git#egg=torba
|
RUN python3.7 -m pip install --user git+https://github.com/lbryio/torba.git#egg=torba
|
||||||
|
|
||||||
|
# get uvloop
|
||||||
|
RUN python3.7 -m pip install --user uvloop
|
||||||
|
|
||||||
# copy lbrynet
|
# copy lbrynet
|
||||||
RUN mkdir projects/
|
RUN mkdir projects/
|
||||||
COPY . projects/lbry
|
COPY . projects/lbry
|
||||||
|
@ -46,4 +49,5 @@ ENV DB_DIRECTORY=$db_dir
|
||||||
ENV BANDWIDTH_LIMIT=1000000000000000000000000000000000000000000
|
ENV BANDWIDTH_LIMIT=1000000000000000000000000000000000000000000
|
||||||
ENV MAX_SESSIONS=1000000000
|
ENV MAX_SESSIONS=1000000000
|
||||||
ENV MAX_SEND=1000000000000000000
|
ENV MAX_SEND=1000000000000000000
|
||||||
|
ENV EVENT_LOOP_POLICY=uvloop
|
||||||
ENTRYPOINT ["/home/lbry/.local/bin/torba-server"]
|
ENTRYPOINT ["/home/lbry/.local/bin/torba-server"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue