93ea84bb81
Renamed to fit with new nomenclature Removed directory and renamed/moved Dockerfile Updated COPY path Moved docker-compose.yml for Lbrynet Cleaned up comments a bit Important notice to users in new comment Updated compose example for image instead of build updated paths Added a step for chainquery-bootstrap setup Moved and updated lbrycrd's env_file Created lbrynet env_file Moved and updated chainquery's env_file Moved and updated lbrynet's compose file More Cleanup Added TODO's for checkmount.sh Renamed compiler Renamed production container Final rename fixup fixup Updated README refs Just readability improvements Packing directories with the repo Git won't track empty directories but if you take the path of running these containers locally from within this repo you should have this directory. Updated image refs to final production locations
30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
## This base image is for running the latest lbrynet-daemon release.
|
|
FROM ubuntu:18.04
|
|
LABEL MAINTAINER="leopere [at] nixc [dot] us"
|
|
|
|
## Add lbrynet
|
|
ADD https://lbry.io/get/lbrynet.linux.zip /lbrynet/lbrynet.linux.zip
|
|
|
|
RUN apt-get update && apt-get -y install unzip && \
|
|
adduser lbrynet --gecos GECOS --shell /bin/bash --disabled-password --home /home/lbrynet && \
|
|
unzip /lbrynet/lbrynet.linux.zip -d /lbrynet/ && \
|
|
rm /lbrynet/lbrynet.linux.zip && \
|
|
chown -Rv lbrynet:lbrynet /lbrynet && \
|
|
mv /lbrynet/lbrynet /bin/
|
|
|
|
COPY stuff/start.sh /usr/local/bin/start
|
|
COPY stuff/checkmount.sh /usr/local/bin/checkmount
|
|
|
|
## Daemon port [Intended for internal use]
|
|
## LBRYNET talks to peers on port 3333 [Intended for external use] this port is used to discover other lbrynet daemons with blobs.
|
|
## Expose 5566 Reflector port to listen on
|
|
## Expose 5279 Port the daemon API will listen on
|
|
## the lbryumx aka Wallet port [Intended for internal use]
|
|
EXPOSE 4444 3333 5566 5279 50001
|
|
|
|
## Example daemon_settings.yml is at https://github.com/lbryio/lbry/blob/master/example_daemon_settings.yml
|
|
ADD https://raw.githubusercontent.com/lbryio/lbry/master/example_daemon_settings.yml /etc/lbrynet/example_daemon_settings.yml
|
|
EXPOSE 5279
|
|
USER lbrynet
|
|
ENTRYPOINT ["/usr/local/bin/checkmount"]
|
|
CMD ["start"]
|