Commit graph

34 commits

Author SHA1 Message Date
Ryan McGuire
bf89578fde 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-04 16:33:45 -04:00
Leopere
6ca8e4431a Docker Hub doesn't like self referential markdown urs 2019-04-27 17:52:39 -04:00
Leopere
10d4edc77d Adding image tags to README's 2019-04-27 17:17:37 -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
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
Ryan McGuire
1d3e5b7a39 Three stage Dockerfile for lbrynet ARM and X86_64 2019-04-23 21:07:38 -04:00
Leopere
868c00b4cb Adding what I had in the lbryio/lbry PR 2019-04-22 20:10:07 +00:00
Leopere
c1cfd936fa Readme tweaking for modernized container update 2018-11-29 20:01:58 +00:00
Leopere
b285a49227 Container builds and runs now.
Entrypoint needs updated to use entrypoint but otherwise stable.
2018-11-29 19:37:32 +00:00
Leopere
992a2ab7c9 updated home dir 2018-11-29 19:23:34 +00:00
Leopere
cedb74dc3d On second thought don't declare a VOLUME here. 2018-11-29 19:17:49 +00:00
Leopere
38320c2204 Add placeholder healthcheck.sh 2018-11-29 19:16:46 +00:00
Leopere
020344c481 Network name needs to not match this users name 2018-11-29 19:11:36 +00:00
Leopere
083c9f3906 Updated networking to match master 2018-11-29 19:09:05 +00:00
Leopere
d37a932774 Merge branch 'master' into lbrynet 2018-11-29 19:04:50 +00:00
Leopere
0d0c88c850 fixup 2018-11-29 19:02:45 +00:00
Leopere
79c08b66f2 Completed ToDo item. 2018-11-29 18:46:23 +00:00
Leopere
b206c5f3b4 Clarification added to port 50001 2018-11-29 18:45:53 +00:00
Leopere
c8ceb79651 Just expose the ports it doesn't really pose any risks. 2018-11-29 18:40:19 +00:00
Leopere
062c72c5f4 Updated Dockerfile, Entrypoint and start
Dockerfile, cleanup and added start.sh & docker-entrypoint.sh
chmod +x on lbrynet/stuff/*.sh
2018-11-29 18:29:19 +00:00
Leopere
adebf46603 Add start.sh for lbrynet 2018-11-29 18:20:32 +00:00
Leopere
68824f95e7 Cleanup and a bit of modernization in invocation 2018-11-29 15:25:59 +00:00
Leopere
c33d806013 Removed incomplete sections of this project from master branch
Moved all other stuff to their own branches
2018-11-26 23:30:14 +00:00
Leopere
9a67d873f9 More WIP tags 2018-11-26 23:14:00 +00:00
Leopere
aae9221c72 Added WIP tag to README header 2018-11-26 23:13:06 +00:00
Leopere
1d6e17c810 Adding stuff dir and start/entrypoint scripts 2018-11-26 23:11:50 +00:00
Leopere
ada255021c Added todo items into lbrynet compose.yml 2018-11-26 23:09:22 +00:00
Leopere
32d7abf54e Adding todo list items for lbrynet Dockerfile 2018-11-26 23:07:07 +00:00
Leopere
3c9fcf6fce Chainquery works mostly and so does lbrycrd
Merge branch 'master' of github.com:lbryio/lbry-docker

Starting on a .travis.yml but may be unnecessary

Renamed www.spee.ch and lbrynet-daemon to reflect their upstream repos.

Disabled Adminer
Started debug for chainquery container.

Get latest release tagged url from github API

remove zip.zip maybe?

debugging curl

explicit unzip

Adding -o for unzip

simplified, removed debug and fixed curl

reverted to original unzip function

Pull chainquery from prep container

passing alternative config path
Aligned config path location with linux spec

updated config location

maybe don't be as explicit

adding debug for chainqueryconfig.toml

Fixes magicless chainquery and starts on bootstrap
added chainquery/.gitignore to ignore large blobs.
fixed Dockerfile up to use staged prep and production
removed db-seed.sh as we have quick-bootstrap.sh
start.sh needed modification to pull config from the right location in the linux FS
Added chainquery/.dockerignore to prevent extremely long build times in the future
Removed fancy bash vars in chainquery/.env
Started work on getting quick-bootstrap.sh ready for release.

Switch to lbrynet network

Switched network name to lbrynet

Merge branch 'leopere' of github.com:lbryio/lbry-docker into leopere

Remove debugging access port bind

Expose chainquery to the internet

Merge branch 'leopere' of github.com:lbryio/lbry-docker into leopere

Removed now unnecessary run command

Undo

Cleanup and commenting on environment variables

Start getting ready for adding chainquery start.sh magic

Quick update
2018-11-04 22:44:00 -05:00