Commit graph

205 commits

Author SHA1 Message Date
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
b372ce1c49 Updated TOC to not include itself 2018-06-03 18:30:51 -04:00
Leopere
e9f9a7d8b1 Removed debug line 2018-06-02 22:42:14 -04:00
Leopere
2171cbc104 Realized there was a defaults file in cli/defaults 2018-06-02 20:06:44 -04:00
Leopere
b292182967 Get dependencies prepared and I need a copy of the siteConfig.json 2018-06-02 18:57:55 -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
61286b2839 Adjusted container name 2018-06-02 12:01:01 -04:00
Leopere
f18a07bed9 Adjusted speech container name 2018-06-02 12:00:53 -04:00
Leopere
d810517c27 Changed container name 2018-06-02 11:56:15 -04:00
Leopere
6763a5ec11 Added Traefik configuration
This should pipe the traefik panel into itself under a subdomain you'll
need to setup yourself.
2018-06-02 11:50:49 -04:00
Leopere
afdde58583 Added container alias in network context 2018-06-02 11:45:27 -04:00
Leopere
22790582af Added Adminer container for auditing SQL.
Disabled restarts for now.
2018-06-02 11:45:06 -04:00
Leopere
f41f710f0d Adding labels for the Traefik reverse proxy 2018-06-02 11:37:55 -04:00
Leopere
58ec4f1539 Removed superfluous ports 2018-06-02 11:31:26 -04:00
Leopere
6729eaf2f1 Added the base docker-compose.yml from the base simplified version.
switched port directives to expose directives.
2018-06-02 11:29:47 -04:00
Leopere
967ee1d875 Adding some documentation 2018-06-02 11:15:08 -04:00
Leopere
cd16992e8f Added docker support files and fixed FROM context 2018-06-02 10:55:29 -04:00
Leopere
f9c30360fb Simplified VOLUMES
Implimented build contexts properly
2018-06-02 10:54:38 -04:00
Leopere
9a0e19ce99 simplified gitignore 2018-06-02 10:52:03 -04:00
Leopere
5f345db93a Added container specific ignores 2018-06-02 10:49:19 -04:00
Leopere
03ba0cf4fd Updated directory references 2018-06-02 10:40:57 -04:00
Leopere
9e1335ae58 Added untested healthcheck 2018-06-01 16:44:39 -04:00
Leopere
0356860785 Started on advanced-docker-compose.yml 2018-06-01 16:43:18 -04:00
Leopere
832489aa5e Added container networking, mariadb and lbrynet 2018-06-01 16:42:56 -04:00
Leopere
dd7cde695a Added healthcheck 2018-06-01 16:31:00 -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
060634a004 Removed extra line 2018-06-01 16:21:47 -04:00
Leopere
37cbb691d7 Organization and adding docker-entrypoint 2018-06-01 16:21:16 -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
1829cf4583 Adding curl/wget 2018-06-01 15:58:29 -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
5ca4bfa68e Install latest source for spee.ch into a src dir
The idea here is when the container runs it will check the /app/
directory for anything and only copy things that aren't there already.
I might utilize rsync for this process as it'd apply more reliable magic
than I want to code or maintain.
2018-06-01 13:32:52 -04:00
Leopere
c8e213b9d5 Moved README.md for lbrynet-daemon container 2018-05-31 20:17:04 -04:00
Leopere
221554c6e9 Adding some basic context to the plans for this file 2018-05-31 20:15:49 -04:00
Leopere
c386976282 Added blank README.md to repo root 2018-05-31 20:10:03 -04:00
Leopere
456c27b5d0 Migrated docker-compose file from other repo 2018-05-31 20:09:46 -04:00
Leopere
64c6ba6857 Migrated dockerfile from a different PR I submitted. 2018-05-31 20:09:31 -04:00
Leopere
703e231812 Adding blank README.md 2018-05-31 20:09:03 -04:00