Commit graph

376 commits

Author SHA1 Message Date
Ryan McGuire
395d0a45df lbrynet refactorings
* Production: Multi-stage Dockerfile.
 * Production: Adds VERSION ARG to specify the lbrynet version to download.
 * Compiler: Adds REPO ARG to specify alternate git repository to build from.
 * Fixes checkmount arg passing.
 * Adds correct binding IP address to start.sh
 * Adds mountable config to start.sh
 * Does not yet add any Layered Config like #70 (it's harder 'cause yaml)
2019-05-03 08:55:44 -04:00
Leopere
77ee9dc39d Adding and enabling HEALTHCHECK 2019-04-30 10:51:53 -04:00
Leopere
409586c45e Graceful stopping is critical in Chainquery 2019-04-30 10:49:20 -04:00
Leopere
eb5427469f
Merge branch 'master' into refactor 2019-04-27 18:39:12 -04:00
Leopere
de0a21a43c Merge branch 'refactor' of github.com:lbryio/lbry-docker into refactor 2019-04-27 17:52:47 -04:00
Leopere
6ca8e4431a Docker Hub doesn't like self referential markdown urs 2019-04-27 17:52:39 -04:00
Ryan McGuire
2092949655 Updates lbrycrd config file in testnet and regtest modes. 2019-04-27 17:35:40 -04:00
Leopere
10d4edc77d Adding image tags to README's 2019-04-27 17:17:37 -04:00
Leopere
6501267d30 Add chainquery tags 2019-04-27 17:15:23 -04:00
Leopere
e8f6fa30d9 Cleaned up documentation
Closes #49
2019-04-27 17:09:49 -04:00
Leopere
0e537ef3e0 Updated documentation 2019-04-27 17:00:34 -04:00
Ryan McGuire
7c6f0b58a1 Adds VERSION ARG to the lbrynet compiler and adds more README. 2019-04-27 17:00:19 -04:00
Leopere
4580d06102 Fixed CONFIG_PATH issue in testing RUN_MODEs 2019-04-27 15:43:01 -04:00
Mark Beamer Jr
58682e1fbe removed permission escalation 2019-04-27 15:42:49 -04:00
Leopere
93ea84bb81 More removals
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
2019-04-27 14:37:55 -04:00
Ryan McGuire
44f8f86308 Merges lbrynet compilers into one Dockerfile with ARG for BASE_IMAGE 2019-04-27 14:37:42 -04:00
Leopere
c3accd79bd Adjusting to new structure
Replaced build with image docker-compose.yml-prod-example

Adjusted paths in volumes

Removed a few more things

healthcheck.sh which can be added later when completed.
renamed the Dockerfile to Dockerfile-x86_64-production

Updated image tag and added RUN_MODE

Updated image and added RUN_MODE

updated tag

Updated tag
2019-04-27 14:37:40 -04:00
Ryan McGuire
70ae63d02a Adds ENTRYPOINT to lbrynet to require mounted home directory before execution. 2019-04-27 14:37:40 -04:00
Ryan McGuire
69c8468e8f Refactor lbrynet compiler container locations and startup mechanics 2019-04-27 14:37:40 -04:00
Leopere
f910732155 Removed traefik labels and moved data dir
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
2019-04-27 14:37:38 -04:00
Leopere
832c2f6b1b Merge branch 'master' into lbrynet 2019-04-23 23:04:51 -04:00
Mark Beamer Jr
607f8839ea
updated maintainer of this to be me. 2019-04-23 21:22:18 -04:00
Ryan McGuire
1d3e5b7a39 Three stage Dockerfile for lbrynet ARM and X86_64 2019-04-23 21:07:38 -04:00
Ryan McGuire
f0b0c6da63 Adds multi-stage Dockerfile for chainquery.
This allows unmodified configs to be mounted.
Also updates the system-cloud-init HOWTO for chainquery.
2019-04-22 16:17:18 -04:00
Leopere
868c00b4cb Adding what I had in the lbryio/lbry PR 2019-04-22 20:10:07 +00:00
Leopere
846bc84f19 Merge branch 'master' into lbrynet 2019-04-21 18:46:46 +00:00
Ryan McGuire
860b5b4fa5 Adds cloud-init systemd HOWTO for lbrycrd on DigitalOcean. 2019-04-17 13:59:05 -04:00
Leopere
aff973f5a9
Clarification on comments and TODO: cleanups.
Documented the RUN_MODEs and just did some re-organizing.
2019-04-17 10:38:56 -04:00
Leopere
d82e79100f
Merge pull request #47 from EnigmaCurry/setuid
Adds new multi-stage Dockerfile for lbrycrd and mountable config files.
2019-04-16 19:44:54 -04:00
Ryan McGuire
7b063e217f Adds new multi-stage Dockerfile for lbrycrd and mountable config files.
This Dockerfile was originally outlined by @Leopere here:
https://github.com/lbryio/lbry-docker/pull/46#issuecomment-483779947
2019-04-16 19:00:39 -04:00
Mark Beamer Jr
1d575c28cf
upgraded regtest dockerfile to 0.12.4 of lbrycrd 2019-02-23 11:26:07 -05:00
Mark
fbbf6d9eb1
Merge pull request #44 from lbryio/testnet
commit running testnet with docker
2019-02-05 23:47:04 -05:00
Mark Beamer Jr
ed0913b565
commit running testnet with docker 2019-02-05 23:46:29 -05:00
Mark Beamer Jr
9189c45da4
forgot to commit final changes for regtest 2019-02-05 17:28:49 -05:00
Mark
8aff5e1a8c
Merge pull request #43 from lbryio/regtest
added regtest setup for lbrycrd.
2019-02-05 17:26:06 -05:00
Mark Beamer Jr
6c9d71e750
added regtest setup for lbrycrd. 2018-12-27 23:57:17 -05:00
Mark Beamer Jr
40755ad179
added regtest setup for lbrycrd. 2018-12-27 23:17:58 -05:00
Leopere
470b9013df
Fix MYSQL_USER and unhid .env files 2018-12-20 03:48:23 -05:00
Mark
3518092aa4
Merge pull request #42 from lbryio/leopere-nov-11
Leopere nov 11
2018-12-17 22:18:02 -05:00
root on chainquery dev
c30c2d3840
work from Lenny and Beamer for Chainquery/Lbrycrd 2018-12-17 22:15:56 -05:00
Leopere
81b9613208
Adding compile subdir to start on Chainquery compiler container 2018-12-17 22:14:07 -05:00
Leopere
8354921ead
Starting work on chainquery compile 2018-12-17 22:14:07 -05:00
Leopere
773a2b44bf
Cleaning up variables 2018-12-17 22:14:03 -05:00
Leopere
cf106a8a34
Added variable for debugmode in .env 2018-12-17 22:13:55 -05:00
Leopere
484683055b
Removed some debugging and swapped debug mode 2018-12-17 22:13:55 -05:00
Leopere
f43ce4b443
Ensuring variables are consistent 2018-12-17 22:13:55 -05:00
Leopere
0748221f38
Setup value strings fix applied 2018-12-17 22:13:49 -05:00
Leopere
c7c4966291
Removed config notes 2018-12-17 22:13:48 -05:00
Leopere
9f123bb258
Simplified feedback
Strings were expanding at the wrong location.
2018-12-17 22:13:39 -05:00
Leopere
23e0688383
Leave notes about how to mount an external config 2018-12-17 22:13:37 -05:00