Commit graph

143 commits

Author SHA1 Message Date
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
Leopere
369bea7d33 Adding base Dockerfile 2018-05-31 20:08:46 -04:00
Leopere
7c9fb95afa Adding base docker-compose.yml 2018-05-31 20:08:19 -04:00
Leopere
107f7aeff3 Adding base docker-entrypoint.sh 2018-05-31 20:08:01 -04:00
Leopere
b505bed70b Initial version of documentation before proofreading
Taking a break saving&committing.
2018-05-31 13:10:21 -04:00
Leopere
831bf0b48c Initial commit 2018-05-31 02:34:39 +00:00