Leopere
f598964e1a
added my.cnf for SQL DB optimizations
2018-10-06 15:50:41 -04:00
Leopere
a7f904f329
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
Mark
00a27ab7fc
Merge pull request #10 from chamunks/master
...
Merging in latest work on lbry-docker baseline
2018-10-06 12:59:47 -04:00
Leopere
2735d20e2f
merging what was left out
2018-10-06 12:56:46 -04:00
Leopere
47b8af21d4
Added some notes and forced a -txindex on startup
2018-10-06 12:56:35 -04:00
Leopere
ee307b3db2
updated chainqueryconfig.toml against debug session
2018-10-06 12:56:08 -04:00
Leopere
501b284f97
Updated docker-compose.yml against debug session
2018-10-06 12:55:44 -04:00
Leopere
77f8be0f20
switched back to latest
2018-10-03 18:02:59 -04:00
Leopere
63dababfbf
changing to mysql:5.7
2018-10-03 17:36:01 -04:00
Leopere
86f123a272
Re-ordered invocation a bit
2018-10-03 16:22:47 -04:00
Leopere
0f1656c3c1
disabled .env in case it's contributing to problems.
2018-10-03 16:19:13 -04:00
Leopere
705e35d9ba
more places the password needed updated
2018-10-03 16:16:58 -04:00
Leopere
cde3d8cd3c
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
7833796652
uncommented apisqldsh
2018-10-03 16:11:33 -04:00
Leopere
72795b1e1a
database name should match toml
2018-10-03 16:11:14 -04:00
Leopere
9242d163d0
RPC server ip update
2018-10-03 15:58:41 -04:00
Leopere
37413e2084
updated RPC_PASSWORD
2018-10-03 15:57:28 -04:00
Leopere
8b1134fe27
dumbed down password management for now
2018-10-03 15:56:47 -04:00
Leopere
3e291b542d
Might not need this set
2018-10-03 15:53:33 -04:00
Leopere
8b1ed11c3b
Updated start
2018-10-03 15:50:45 -04:00
Leopere
68282547cf
Following Nikooo777's advice
...
https://lbryians.slack.com/archives/CCE20EWPQ/p1538594805000100
2018-10-03 15:41:26 -04:00
Leopere
d35e728320
Updated networking
2018-10-03 15:36:11 -04:00
Leopere
26befacb87
changed networking settings
2018-10-03 15:35:32 -04:00
Leopere
32f3b77c3c
No need to mkdir apparently
2018-10-03 14:49:18 -04:00
Leopere
1df66b9191
Removed superfluous perms assertions for now
2018-10-03 14:49:00 -04:00
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