This repository will be for Dockerfiles for the various LBRY packages.
Find a file
2018-11-04 11:47:48 -05:00
.github Added pull_request_enhancement.md 2018-10-19 03:05:34 -04:00
chainquery Adding -o for unzip 2018-11-04 11:47:48 -05:00
lbrycrd .gitignore files everywhere 2018-10-16 20:55:52 -04:00
lbrynet Renamed www.spee.ch and lbrynet-daemon to reflect their upstream repos. 2018-11-04 10:50:33 -05:00
reflector.go Updated Labels 2018-10-16 03:30:13 -04:00
spee.ch Renamed www.spee.ch and lbrynet-daemon to reflect their upstream repos. 2018-11-04 10:50:33 -05:00
traefik MAINTAINER is deprecated in Dockerfile. COPY is preferred over ADD in Dockerfile if additional functonality of ADD is not being used. Improved Shebang lines in many files. 2018-10-14 18:00:06 +05:30
.gitignore Updated gitignore and removed files properly 2018-10-23 23:03:43 -04:00
.travis.yml Starting on a .travis.yml but may be unnecessary 2018-11-04 10:48:52 -05:00
CONTRIBUTING.md Documented more dotfiles 2018-10-16 20:58:06 -04:00
LICENSE Started on Reflector.go 2018-10-08 16:53:51 -04:00
README.md Fixed link and formatting in README 2018-10-20 17:38:34 +03:00

lbry-Docker

Scope

This repository is in heavy flux as it travels towards version 1.0 however its goal is to make development for and adoption of any of the LBRY appliances trivial. You should be able to clone pull fork your way to a better LBRY without having to do much more than some light reading of a README to get started.

Documentation is WIP

Currently this repository is a WIP and is under heavy construction, use at your own risk make sure you keep regular backups of your wallets. Your milage may vary as how far this will work for you be sure to file good and concise issues if you plan to and keep in mind we're allergic to regressions when filing PR's.

Goals

This repository aims for Docker Best Practices minimalism, ephemerality, and statelessness. It will use well commented Shell scripts, Dockerfiles, and Docker-Compose which is a template that is a baseline for many other container management services such as RancherOS and Kubernetes.

Beautiful Screenshot/Gif

Since there is nothing to see here just yet I'll entertain you with the current state of affairs with this repository. image

Installation

This is currently WIP and Not Recommended for Production See Running from source for the current instructions on how to use this.

Currently supported platforms

X64 cpu architecture

More will be added on request and over time

Usage

For now I don't recommend using this container cluster however you're welcomed to contribute if you feel up to the task.

Running from source

Running this stuff from source should be possible if you have both Docker and docker-compose both installed. If these are both installed you can proceed to run the following from within your development directory.

git clone https://github.com/lbryio/lbry-docker.git

Once you have a local copy of the recent source you will want to consider what containers/applications you require in your environment. At the moment since at the writing of this documentation this comes with an assertion of YMMV so if something isn't working feel free to make suggestions in the form of a PR for how we should do this better. The beauty of Open Source is learning better ways to do things as well as contributing to the world so I'm always going to be welcoming to contributions.

From Source for Contributions

Running from source for contributing and Merge/Pull requests. My goal is to make contributing to this possible using Docker and also GitLab CI/CD time.

Contributing

Keep in mind I am preferential to receiving patches over rule following as we can always nudge you in the right direction to get things more compatible with the project ethos if it's not. Never be afraid to file a PR no one should be offended. This said following the next two guides will greatly improve the speed at which we can integrate your improvements.

  • Repository Standards
  • Contribute
  • Have a LBC wallet ready as we want you to have some for the help! Hell why not post it in your Commit or Merge Request for all I care but take your tips!

Getting Support

Debugpaste [WIP]

I'll be including a function to get a self destructing debugpaste of your LBRY appliances logs you'll be able to execute something similar to the following in all containers to export raw logs to a paste service where you can then either modify them removing sensitive data or just take that URL and create a new issue after you (Use Issue Search) to make sure there isn't already an open thread for your issue.

Example debugpaste

cd chainquery/
docker-compose exec chainquery debugpaste
https://haste.nixc.us/ocatumatozaq.nginx

You can then take output given in the response from the debugpaste command and put that into your github issue (This may be automated at some point to some degree).

Creating an Issue

Please be sure to fill out the issue template as best as possible. This will help us answer your questions faster and fix things quicker if we have quality reports.

License

This project is Licensed under the MIT License

Security

“We take security seriously. Please contact security@lbry.io regarding any security issues. Our PGP key is here if you need it.” LBRY is built primarily on top of proven technologies however if you find something that might increase the risk of someone losing their crypto currency Responsible Disclosure is always appreciated, however, that said, we're all open-source here.

Contact

  • The primary contact for this project is @leopere feel free to reach out to leopere [ at ] nixc [ dot ] us