Commit graph

49 commits

Author SHA1 Message Date
Leopere
08003e5c51 Added .env file for spee.ch container 2018-09-30 16:20:19 -04:00
chamunks
f44c67fd15 Expansion on goals section of spee.ch README 2018-06-05 14:45:12 -04:00
chamunks
91c2fdcec6 Permissions setting is being janky disabled for now
Final commit for a while
2018-06-05 14:23:49 -04:00
chamunks
981d688145 Using cp instead of mv
Disabling permissions assertion for now.
2018-06-05 14:20:51 -04:00
chamunks
b4bd8df557 removed set -u it breaks unbound vars 2018-06-05 14:06:45 -04:00
chamunks
225684228d Sed apparently supports custom separators 2018-06-05 13:59:05 -04:00
chamunks
80f1bc8950 Adding node-gyp package
Configuration advancements
2018-06-05 13:55:52 -04:00
chamunks
8dc96e54ee Changed shebang 2018-06-05 12:34:32 -04:00
chamunks
72451605c0 Removed debug line 2018-06-05 12:27:51 -04:00
chamunks
1e9f36dc7a Commented on a line I will need to delete or change 2018-06-04 02:50:57 -04:00
chamunks
441be0adcc * 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
chamunks
8d26219244 Updated TOC to not include itself 2018-06-03 18:30:51 -04:00
chamunks
5c0ea02aab Realized there was a defaults file in cli/defaults 2018-06-02 20:06:44 -04:00
chamunks
e5df0c1347 Get dependencies prepared and I need a copy of the siteConfig.json 2018-06-02 18:57:55 -04:00
chamunks
a59c99382e Marked section for eventual deletion 2018-06-02 18:53:00 -04:00
chamunks
eee0608eb3 Commenting and added another instance of final_permset 2018-06-02 18:51:43 -04:00
chamunks
36b42e2107 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
chamunks
f8f8c3ab51 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
chamunks
568b175950 Fail entrypoint better 2018-06-02 14:40:49 -04:00
chamunks
47b9e86973 Adjusted container name 2018-06-02 12:01:01 -04:00
chamunks
e075101e19 Adjusted speech container name 2018-06-02 12:00:53 -04:00
chamunks
184d5e5da9 Changed container name 2018-06-02 11:56:15 -04:00
chamunks
af0a742f9e 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
chamunks
4cc6c3c699 Added container alias in network context 2018-06-02 11:45:27 -04:00
chamunks
63236c3754 Added Adminer container for auditing SQL.
Disabled restarts for now.
2018-06-02 11:45:06 -04:00
chamunks
027475790a Adding labels for the Traefik reverse proxy 2018-06-02 11:37:55 -04:00
chamunks
f435a7c573 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
chamunks
11e5ca977a Adding some documentation 2018-06-02 11:15:08 -04:00
chamunks
c8bade4868 Added docker support files and fixed FROM context 2018-06-02 10:55:29 -04:00
chamunks
35398103fc Simplified VOLUMES
Implimented build contexts properly
2018-06-02 10:54:38 -04:00
chamunks
d1a33b262e Added untested healthcheck 2018-06-01 16:44:39 -04:00
chamunks
b5c1dba41e Started on advanced-docker-compose.yml 2018-06-01 16:43:18 -04:00
chamunks
1d86d03dc1 Added container networking, mariadb and lbrynet 2018-06-01 16:42:56 -04:00
chamunks
7496985e9b Added healthcheck 2018-06-01 16:31:00 -04:00
chamunks
0273a024ea Feedback clarification 2018-06-01 16:23:27 -04:00
chamunks
1d4fa0ecc3 Clarification in comments 2018-06-01 16:22:13 -04:00
chamunks
3925010f46 Removed extra line 2018-06-01 16:21:47 -04:00
chamunks
8bad2a6a8e Organization and adding docker-entrypoint 2018-06-01 16:21:16 -04:00
chamunks
31d020251e Cleaning up permissions assertion 2018-06-01 16:20:50 -04:00
chamunks
4eea5da88f spaces instead of tabs 2018-06-01 16:15:33 -04:00
chamunks
d6c1073933 Added +x to docker-entrypoint.sh 2018-06-01 16:14:36 -04:00
chamunks
9c77dece8d Adding curl/wget 2018-06-01 15:58:29 -04:00
chamunks
3d008be714 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
chamunks
5284b01b5c 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
chamunks
5b206a50f9 Adding some basic context to the plans for this file 2018-05-31 20:15:49 -04:00
chamunks
efcf47fc54 Adding base Dockerfile 2018-05-31 20:08:46 -04:00
chamunks
0e1bbdef4b Adding base docker-compose.yml 2018-05-31 20:08:19 -04:00
chamunks
dc1e5922d5 Adding base docker-entrypoint.sh 2018-05-31 20:08:01 -04:00
chamunks
d1c6666dc0 Initial version of documentation before proofreading
Taking a break saving&committing.
2018-05-31 13:10:21 -04:00