Commit graph

107 commits

Author SHA1 Message Date
Leopere
a3285b7967 Updated against a multi stage strategy 2018-10-16 03:28:03 -04:00
Leopere
3c2b861157 Switched to multistage chainquery image 2018-10-16 03:27:45 -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
0fab25736f Adding base database seed script 2018-10-11 22:04:22 -04:00
Leopere
13b91bae04 chainquery needs to be .3 2018-10-10 20:59:58 -04:00
Leopere
3c791bc5e9 chainquery needs to be .3 2018-10-10 20:58:23 -04:00
Leopere
e37922c9cf docker-compose build needs to ignore this 2018-10-10 20:13:10 -04:00
chamunks
a2e25cf667 Updated networking for exposing a web front end. 2018-10-09 14:33:47 -04:00
Leopere
403a513d18 Readded disappearing colons 2018-10-09 10:39:32 -04:00
Leopere
753b711e96 Multiple changes
chainquery has an added Adminer container now.
reflector.go has a base config.tmpl file for testing string modification.
Exporting GOROOT now in Dockerfile
2018-10-09 10:28:13 -04:00
Leopere
5cf92f8793 Pushing trailing changes for starting debugpaste-it 2018-10-06 20:26:53 -04:00
Leopere
2260845533 removed .env_disabled 2018-10-06 17:51:28 -04:00
Leopere
9d32180c78 Setting .env back from .env_disabled 2018-10-06 17:51:03 -04:00
Leopere
380ba763c9 moved my.cnf 2018-10-06 15:54:51 -04:00
Leopere
f598964e1a added my.cnf for SQL DB optimizations 2018-10-06 15:50:41 -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
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
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
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
cb70cc21df More network tweaking 2018-10-02 17:28:35 -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
3fdf664926 Updating IP's to further avoid collisions 2018-10-02 17:08:00 -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