Lbrynet containers for compiling and running armhf and x86_64 #53
3 changed files with 5 additions and 9 deletions
1
lbrynet/.dockerignore
Normal file
1
lbrynet/.dockerignore
Normal file
|
@ -0,0 +1 @@
|
||||||
|
data/
|
|
@ -3,7 +3,7 @@ FROM ubuntu:18.04
|
||||||
LABEL MAINTAINER="leopere [at] nixc [dot] us"
|
LABEL MAINTAINER="leopere [at] nixc [dot] us"
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install unzip
|
RUN apt-get update && apt-get -y install unzip
|
||||||
RUN adduser lbrynet --gecos GECOS --shell /bin/bash/ --disabled-password --home /lbrynet/
|
RUN adduser lbrynet --gecos GECOS --shell /bin/bash --disabled-password --home /lbrynet/
|
||||||
|
|
||||||
## Add lbrynet
|
## Add lbrynet
|
||||||
ADD https://lbry.io/get/lbrynet.linux.zip /lbrynet/lbrynet.linux.zip
|
ADD https://lbry.io/get/lbrynet.linux.zip /lbrynet/lbrynet.linux.zip
|
||||||
|
@ -18,15 +18,12 @@ COPY stuff/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
|
||||||
COPY stuff/healthcheck.sh /usr/local/bin/healthcheck
|
COPY stuff/healthcheck.sh /usr/local/bin/healthcheck
|
||||||
|
|
||||||
## Daemon port [Intended for internal use]
|
## Daemon port [Intended for internal use]
|
||||||
EXPOSE 4444
|
|
||||||
## LBRYNET talks to peers on port 3333 [Intended for external use] this port is used to discover other lbrynet daemons with blobs.
|
## LBRYNET talks to peers on port 3333 [Intended for external use] this port is used to discover other lbrynet daemons with blobs.
|
||||||
EXPOSE 3333
|
|
||||||
## Expose 5566 Reflector port to listen on
|
## Expose 5566 Reflector port to listen on
|
||||||
EXPOSE 5566
|
|
||||||
## Expose 5279 Port the daemon API will listen on
|
## Expose 5279 Port the daemon API will listen on
|
||||||
EXPOSE 5279
|
|
||||||
## the lbryumx aka Wallet port [Intended for internal use]
|
## the lbryumx aka Wallet port [Intended for internal use]
|
||||||
EXPOSE 50001
|
EXPOSE 4444 3333 5566 5279 50001
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## TODO: Have wallets stored on their own volume/subdirectory for security, and backups.
|
## TODO: Have wallets stored on their own volume/subdirectory for security, and backups.
|
||||||
|
@ -42,8 +39,6 @@ ADD https://raw.githubusercontent.com/lbryio/lbry/master/example_daemon_settings
|
||||||
## TODO: Downloaded blobs will be in their own separate volume for keeping backups of critical secrets and data separate from backups of potentially massive blob files.
|
## TODO: Downloaded blobs will be in their own separate volume for keeping backups of critical secrets and data separate from backups of potentially massive blob files.
|
||||||
# VOLUME /lbrynet/Downloads/
|
# VOLUME /lbrynet/Downloads/
|
||||||
|
|
||||||
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
|
||||||
|
|
||||||
## TODO: Add start.sh script which can assert permissions and do any configuration prep that's required on container start.
|
|
||||||
## Run on container launch
|
|
||||||
CMD ["start"]
|
CMD ["start"]
|
||||||
|
|
0
lbrynet/stuff/healthcheck.sh
Normal file → Executable file
0
lbrynet/stuff/healthcheck.sh
Normal file → Executable file
Loading…
Reference in a new issue