Commit graph

373 commits

Author SHA1 Message Date
Leopere
1077b2bf50 Adding chainquery user directory 2018-10-03 14:47:25 -04:00
Leopere
684a666480 Rolled back part of the last change 2018-10-03 14:45:34 -04:00
Leopere
89b88d1047 Relocated chainqueryconfig.toml
Removed more weight (LICENSES and README.md files)
2018-10-03 14:43:03 -04:00
Leopere
bfc73e687a Not in the home dir here either 2018-10-03 14:35:44 -04:00
Leopere
0b9c06ce3a added +x to chainquery start.sh and entrypoint.sh 2018-10-03 14:33:43 -04:00
Leopere
ef95284d6a Typed the wrong user 2018-10-03 14:30:18 -04:00
Leopere
a1bce599d5 More re-organization and removed duplicate RUN 2018-10-03 14:29:00 -04:00
Leopere
681becc7bf Slight reorganization 2018-10-03 14:27:13 -04:00
Leopere
7529518a23 No need for volumes 2018-10-03 14:25:56 -04:00
Leopere
9192aaf9f5 Added ports to expose 2018-10-03 14:24:05 -04:00
Leopere
41a5be7686 Defined FROM directive 2018-10-03 14:17:22 -04:00
Leopere
1df83a847b Expose chainquery SQL query service 2018-10-03 14:12:38 -04:00
Leopere
566552bb40 Base Dockerfile based on my testing
The chainquery binary is going to be installed into $PATH
This entire appliance has no real need for a data directory so consider
moving the home of the chainquery user to just be in /etc/chainquery/
where the config can be located more permanently.
2018-10-03 14:12:23 -04:00
Leopere
3187265032 Added mariadb envvars 2018-10-03 13:48:37 -04:00
Leopere
4f442ca99d Adding .env file section for MariaDB 2018-10-03 13:45:32 -04:00
Leopere
47652f8f41 Removed duplicate line 2018-10-03 13:44:57 -04:00
Leopere
c50e00ca56 Added simple docker entrypoint for now. 2018-10-03 13:44:30 -04:00
Leopere
04ba8f6c5c Committing start.sh
This will likely be mostly an unnecessary file unless we get more flags
For now it just asserts recursive dir perms.
2018-10-03 13:39:28 -04:00
Leopere
5edaa475cc Adding a basic toml file for testing 2018-10-03 13:37:58 -04:00
Leopere
4109cac7b9 Added mariadb definition 2018-10-03 13:25:29 -04:00
Leopere
b2837b0afd No need to add a subdirectory here 2018-10-02 18:26:46 -04:00
Leopere
ba99a183a1 This is in the $PATH now 2018-10-02 18:11:43 -04:00
Leopere
61301d1261 Removed superfluous mkdir 2018-10-02 18:08:42 -04:00
Leopere
1e57c90ebc Adjusting some logic with command execution order 2018-10-02 18:08:07 -04:00
Leopere
55ddbd4097 A few issues fixed with permissions
Fixed who runs the mkdir commands in Dockerfile
Added make double check for directories existence in start.sh
Still doesn't necessarily fix invocation.
Corrected user shell to not include trailing slash
2018-10-02 18:05:03 -04:00
Leopere
cc76cbec0e Adding user definition in compose
Looking to fix an issue where the default directories are owned by the incorrect user.
2018-10-02 17:44:12 -04:00
Leopere
d430ac5932 Throw in an +x to save the day 2018-10-02 17:40:11 -04:00
Leopere
4364cf36d9 Docker didn't like the last path 2018-10-02 17:37:23 -04:00
Leopere
765024b476 switching from apt to apt-get to avoid complaining 2018-10-02 17:31:32 -04:00
Leopere
cb70cc21df More network tweaking 2018-10-02 17:28:35 -04:00
Leopere
95a1920f49 bump to last update 2018-10-02 17:25:33 -04:00
Leopere
d0ac528aaf bump to last update 2018-10-02 17:25:19 -04:00
Leopere
7c2aae9fbe adjusted network configuration 2018-10-02 17:24:42 -04:00
Leopere
b63b5fd26a This shouldn't collide in my testing env 2018-10-02 17:22:47 -04:00
Leopere
164ed1515b Updating IP's to further avoid collisions 2018-10-02 17:08:17 -04:00
Leopere
3fdf664926 Updating IP's to further avoid collisions 2018-10-02 17:08:00 -04:00
Leopere
a26e3ca9f2 Updated network instantiation script 2018-10-02 17:04:30 -04:00
Leopere
dc010bcc54 Replaced network name so it won't collide in my test environment 2018-10-02 17:02:42 -04:00
Leopere
b879bfaf3e Updated git repository location for spee.ch 2018-10-02 16:55:58 -04:00
Leopere
cea893f744 Added networking and traefik label 2018-10-02 16:54:18 -04:00
Leopere
aebce8bfc2 Adding lbrycrd docker-compose.yml
This will spin up a lbrycrdd instance based off of the neighboring Dockerfile
The instance will be prepared to be part of a cluster using an external, to the container, network.
The label is to ensure that if there is a Traefik reverse proxy available on the docker host that it won't be exposed publicly.
2018-10-02 16:53:07 -04:00
Leopere
8519982037 Committing base Dockerfile for lbrycrdd
This commit should contain a working lbrycrdd inside of a Docker container.
The idea is that this should work by default and store a few things on the host system for persistence.
2018-10-02 16:38:34 -04:00
Leopere
67fe213e2a Adding envvars for use in docker-compose.yml 2018-10-02 16:36:52 -04:00
Leopere
9ab7f8a81f This is just a placeholder mostly for future work 2018-10-02 16:36:26 -04:00
Leopere
a692c729f8 Adding start.sh with some defaults
With permissions assertions to boot.
Added a few arguments to start with.  I may change how this is done but I likely won't change the user facing side.
2018-10-02 16:33:20 -04:00
Leopere
803dec45cb Random RPC passwords on startup
Pulling example from https://github.com/lbryio/chainquery#lbrycrd
This should establish a random RPC pass every time the containers start
2018-10-02 16:16:38 -04:00
Leopere
99ac0f950c Adding basic .gitignore for data dir 2018-10-02 15:44:59 -04:00
Leopere
3b06dec395 Updated comments 2018-10-02 15:36:13 -04:00
Leopere
bafe1686dc Update README.md for spee.ch
Declaring status of the spee.ch container.
2018-09-30 17:25:48 -04:00
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