Commit graph

27 commits

Author SHA1 Message Date
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
Shubham Bhattar
ddeecb94da Merge branch 'master' into master 2018-10-16 01:52:38 +05:30
Leopere
9d5e7756c0 Leaving note to refactor this 2018-10-15 03:14:02 -04:00
Shubham Bhattar
e332e9c906 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
Leopere
2e8038f989 Updated to use main spee.ch repo
The original concept was to pull the now deprecated www.spee.ch multisite repo.
2018-09-30 17:18:46 -04:00
Leopere
33113ef00c Permissions setting is being janky disabled for now
Final commit for a while
2018-06-05 14:23:49 -04:00
Leopere
48a55c5939 Using cp instead of mv
Disabling permissions assertion for now.
2018-06-05 14:20:51 -04:00
Leopere
c0b9ec1312 removed set -u it breaks unbound vars 2018-06-05 14:06:45 -04:00
Leopere
0ea82f41c5 Sed apparently supports custom separators 2018-06-05 13:59:05 -04:00
Leopere
d6cd2f6b51 Adding node-gyp package
Configuration advancements
2018-06-05 13:55:52 -04:00
Leopere
7d0ce6cfb1 Changed shebang 2018-06-05 12:34:32 -04:00
Leopere
9a224e946a Removed debug line 2018-06-05 12:27:51 -04:00
Leopere
74542f931e Commented on a line I will need to delete or change 2018-06-04 02:50:57 -04:00
Leopere
4c7c378eb5 * Major addition, configuration installation
This commit is a rather large one adding a bunch of environment vars
installing only the environment variables that have been set.
Also copying the default template configs into the destination /app/ dir
* Clarified where the bulk of the work gets done with a commented header
There will be a significant amount of sanitation that will need added.
2018-06-04 01:45:14 -04:00
Leopere
7eb33eca3e Marked section for eventual deletion 2018-06-02 18:53:00 -04:00
Leopere
ff797d03cb Commenting and added another instance of final_permset 2018-06-02 18:51:43 -04:00
Leopere
cd61c4c2e6 major rewrite of docker-entrypoint
Original entrypoint was basically a placeholder for me anyways.
I need to add a few functions for configuration and then start testing.
2018-06-02 18:46:51 -04:00
Leopere
a4a4f243c1 Fail better
https://unix.stackexchange.com/questions/384305/debugging-scripts-what-is-the-difference-between-x-to-set-euxo-pipefail?rq=1
2018-06-02 18:21:57 -04:00
Leopere
0aafe775ea Fail entrypoint better 2018-06-02 14:40:49 -04:00
Leopere
ea926b5276 Feedback clarification 2018-06-01 16:23:27 -04:00
Leopere
54cf3893eb Clarification in comments 2018-06-01 16:22:13 -04:00
Leopere
288577c92c Cleaning up permissions assertion 2018-06-01 16:20:50 -04:00
Leopere
b41f98c758 spaces instead of tabs 2018-06-01 16:15:33 -04:00
Leopere
a0d8641b91 Added +x to docker-entrypoint.sh 2018-06-01 16:14:36 -04:00
Leopere
25bca3a7ad Adding some tests for currently installed content.
I may completely rewrite this later but what it does is it checks if
there is anything in the /app/ directory and then if theres nothing it
installs our fresh copy that the speech user/group cannot change
personally.

The entrypoint script should run on container instantiation before the
CMD directive which should just be a simple npm command so that docker's
own process monitoring can work correctly.
2018-06-01 13:41:26 -04:00
Leopere
221554c6e9 Adding some basic context to the plans for this file 2018-05-31 20:15:49 -04:00
Leopere
107f7aeff3 Adding base docker-entrypoint.sh 2018-05-31 20:08:01 -04:00