Commit graph

150 commits

Author SHA1 Message Date
Leopere
0d556e4c8c Setting .env back from .env_disabled 2018-10-06 17:51:03 -04:00
Leopere
3326153c8c moved my.cnf 2018-10-06 15:54:51 -04:00
Leopere
70253b6d0f Add my.cnf with database optimizations for chainquery 2018-10-06 15:53:18 -04:00
Leopere
3308850b3f added my.cnf for SQL DB optimizations 2018-10-06 15:50:41 -04:00
Leopere
8c92b2c3af This is far from complete but is functional
Chainquery depends on a fully indexed blockchain comments expand on this.
Reindexing should only happen when a flag is set in docker-compose envvars
2018-10-06 14:54:41 -04:00
Leopere
58826800a2 merging what was left out 2018-10-06 12:56:46 -04:00
Leopere
423add25ac Added some notes and forced a -txindex on startup 2018-10-06 12:56:35 -04:00
Leopere
2f36acbb8b updated chainqueryconfig.toml against debug session 2018-10-06 12:56:08 -04:00
Leopere
cfc48bcfad Updated docker-compose.yml against debug session 2018-10-06 12:55:44 -04:00
Leopere
a459ba413f switched back to latest 2018-10-03 18:02:59 -04:00
Leopere
c6de05cb7b changing to mysql:5.7 2018-10-03 17:36:01 -04:00
Leopere
fbe5159b80 Re-ordered invocation a bit 2018-10-03 16:22:47 -04:00
Leopere
f941836b27 disabled .env in case it's contributing to problems. 2018-10-03 16:19:13 -04:00
Leopere
4d9da25d49 more places the password needed updated 2018-10-03 16:16:58 -04:00
Leopere
991d0b1e67 changed order of container execution
MySQL/MariaDB has a startup time so adding a depends_on and
reorganization may fix a few things
2018-10-03 16:14:53 -04:00
Leopere
11f0e1b7a7 uncommented apisqldsh 2018-10-03 16:11:33 -04:00
Leopere
0978e8bc9f database name should match toml 2018-10-03 16:11:14 -04:00
Leopere
8468b9b889 RPC server ip update 2018-10-03 15:58:41 -04:00
Leopere
98db01b10b updated RPC_PASSWORD 2018-10-03 15:57:28 -04:00
Leopere
a56009cceb dumbed down password management for now 2018-10-03 15:56:47 -04:00
Leopere
ab53a7cebb Might not need this set 2018-10-03 15:53:33 -04:00
Leopere
a746627cd1 Updated start 2018-10-03 15:50:45 -04:00
Leopere
b9255a58cf Following Nikooo777's advice
https://lbryians.slack.com/archives/CCE20EWPQ/p1538594805000100
2018-10-03 15:41:26 -04:00
Leopere
730566a2a6 Updated networking 2018-10-03 15:36:11 -04:00
Leopere
7da89ec1d6 changed networking settings 2018-10-03 15:35:32 -04:00
Leopere
8183bd0bca No need to mkdir apparently 2018-10-03 14:49:18 -04:00
Leopere
1400b60234 Removed superfluous perms assertions for now 2018-10-03 14:49:00 -04:00
Leopere
6ac1a9491e Adding chainquery user directory 2018-10-03 14:47:25 -04:00
Leopere
bb294db85a Rolled back part of the last change 2018-10-03 14:45:34 -04:00
Leopere
cf64808b82 Relocated chainqueryconfig.toml
Removed more weight (LICENSES and README.md files)
2018-10-03 14:43:03 -04:00
Leopere
123b90cf38 Not in the home dir here either 2018-10-03 14:35:44 -04:00
Leopere
712a59cfe6 added +x to chainquery start.sh and entrypoint.sh 2018-10-03 14:33:43 -04:00
Leopere
749bec6b90 Typed the wrong user 2018-10-03 14:30:18 -04:00
Leopere
1656b5017f More re-organization and removed duplicate RUN 2018-10-03 14:29:00 -04:00
Leopere
7c2efd81da Slight reorganization 2018-10-03 14:27:13 -04:00
Leopere
753fae8617 No need for volumes 2018-10-03 14:25:56 -04:00
Leopere
f1282705ab Added ports to expose 2018-10-03 14:24:05 -04:00
Leopere
26f358f79e Defined FROM directive 2018-10-03 14:17:22 -04:00
Leopere
1db6419781 Expose chainquery SQL query service 2018-10-03 14:12:38 -04:00
Leopere
f2820e1ce8 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
5709c2b616 Added mariadb envvars 2018-10-03 13:48:37 -04:00
Leopere
62e3e89dbc Adding .env file section for MariaDB 2018-10-03 13:45:32 -04:00
Leopere
331c17a263 Removed duplicate line 2018-10-03 13:44:57 -04:00
Leopere
a386bfa451 Added simple docker entrypoint for now. 2018-10-03 13:44:30 -04:00
Leopere
a888d36d3c 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
3099391357 Adding a basic toml file for testing 2018-10-03 13:37:58 -04:00
Leopere
2fcf2a7c69 Added mariadb definition 2018-10-03 13:25:29 -04:00
Leopere
336f968ce0 No need to add a subdirectory here 2018-10-02 18:26:46 -04:00
Leopere
e7219830fa This is in the $PATH now 2018-10-02 18:11:43 -04:00
Leopere
b1a761293a Removed superfluous mkdir 2018-10-02 18:08:42 -04:00