f910732155
Moved data dir and removed traefik label Moved readme for testnet compose Adding RUN_MODEs regtest and testnet Adding advance_blocks.sh into all lbrycrd containers Adding advance cmd and moved Dockerfile to appropriate dir Cleanup and moved Dockerfiles Moved lbrycrd Dockerfiles to appropriate subdirectories and removed. More moving and deletions Adding catchall output Updated default runmode in example Removed incomplete container directory This should not be in a production branch at this point now that we have stable containers published. Removed incomplete container for now Deleted compile directory and README.md Cleaning up chainquery Deleting placeholders Updated start.sh Removing superfluous .dockerignores & more Adjusted start.sh source path Updated ignores Updated readme in prep for build tags and ship armhf-prod dir start.sh's should be recycled when possible. No sense in code duplication lets try and aim for unification. Docker prefers WORKDIR over cd docker prefers WORKDIR over cd |
||
---|---|---|
.. | ||
linux-armhf-compiler | ||
linux-armhf-production | ||
linux-x86_64-compiler | ||
stuff | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
lbrynet-As-A-Container
More documentation to come however the Invocation section should include enough to get you going. You're going to need at least docker docker-compose and git installed on whatever host OS you wish to use.
Invocation
This will get you a running copy of the lbrynet-daemon running inside of a docker container with default settings.
git clone https://github.com/chamunks/lbry-docker.git
cd ./lbry-docker/lbrynet/
docker-compose up -d
Executing commands
To list containers on the host execute docker ps -a
then run docker exec CONTAINERNAME lbrynet-cli commands
Docker Directory
This directory is in case we need to expand the functionality of this container at some point in the future.
Configuration
There's really no configuration required to launch this just launch it. However your blockchain data and other things are currently located in the applications home Directory here's a link to the Documentation for useful directories with lbrynet-daemon
daemon_settings.yml is on its way and it will be configurable soon via env-vars with docker-compose.yml