Commit Graph

71 Commits

Author SHA1 Message Date
Asif Bacchus 9717e8a6fa refactor: rename repo, image, containers
- rename for integration with node-dev environment and production
deployment
- update image and product name across all files
- use generated project file to install node dependencies
- bump internal version to 2.6
2021-07-30 11:53:41 -06:00
Asif Bacchus c0a4fc1c6c fix(env): update env file to match new exclusion defaults 2021-07-29 22:53:51 -06:00
Asif Bacchus cad203a7c0 fix(dockerfile): reorganize and add new labels
- add deprecated maintainer tag and label
- fix internal label names
- add git commit label
- reorganize labels
2021-07-28 04:41:28 -06:00
Asif Bacchus 8cafe6e164 fix readme formatting error 2021-07-28 04:24:42 -06:00
Asif Bacchus 99cc14532c docs(readme): update readme to reflect fixed exclusions 2021-07-28 04:20:50 -06:00
Asif Bacchus 13ec1a72e9 style(livereload): format code 2021-07-28 04:12:19 -06:00
Asif Bacchus 1194fc63c6 fix(livereload): fix exclusions bug
- read environment var as array
- convert array elements to regex objects
- update environment variable defaults
2021-07-28 03:51:56 -06:00
Asif Bacchus 574b6e1e07 refactor(dockerfile): update existing packages to latest versions 2021-07-28 03:50:03 -06:00
Asif Bacchus d26d8a822f updated README for version 2.x 2021-07-24 19:56:09 -06:00
Asif Bacchus d0eb4cc821 feature(dockerfile): allow setting separate GID 2021-07-24 16:21:07 -06:00
Asif Bacchus 762b97d19d refactor(livereload): update default exclusions
- use RegEx format
- still seems to be ignored, pending issue upstream
2021-07-24 04:09:37 -06:00
Asif Bacchus 2889c153f3 feature(compose): nginx dependant on healthy livereload 2021-07-24 03:03:31 -06:00
Asif Bacchus dfa50ea6b5 feature: add healthcheck
- add express npm to allow creation of health endpoint
- create health end pt as callback to livereload server listening state
- configure healthcheck in container
- allows true 'stack' operation since other services can query status
2021-07-24 03:01:01 -06:00
Asif Bacchus 41dcd6a5bb refactor(entrypoint): mod permissions on fullchain 2021-07-24 02:12:44 -06:00
Asif Bacchus 2dbcd4a845 fix(entrypoint): fix permissions on generated certs
- set private key to be group readable
- create chain.pem from fullchain.pem
- generate dhparams for TLS1.2
2021-07-24 02:09:50 -06:00
Asif Bacchus 81cfe975b4 refactor(entrypoint): move HTTP/S message to javascript 2021-07-23 23:45:58 -06:00
Asif Bacchus e83dce3304 fix(livereload): process env vars as strings not boolean 2021-07-23 23:04:44 -06:00
Asif Bacchus 7ce5738399 fix(compose): certs dir writable by livereload
- readonly mapping would prevent cert auto-generation
2021-07-23 19:25:23 -06:00
Asif Bacchus 34ffb96025 refactor(dockerfile): switch to env file
- replace livereload.params with .env
- allows subst in compose file itself
- activate defaults by default
2021-07-23 19:23:13 -06:00
Asif Bacchus 1e7531e632 chore: update and use consistent project name 2021-07-23 18:36:14 -06:00
Asif Bacchus b2a02407b9 refactor(compose): use proper image tag 2021-07-23 18:29:38 -06:00
Asif Bacchus f196697569 chore(dockerfile): re-enable extra labels 2021-07-23 18:22:40 -06:00
Asif Bacchus f77961145e struct(entrypoint): add notation for HTTP-only mode 2021-07-23 18:20:47 -06:00
Asif Bacchus 3001dbca73 feature(entrypoint): show loaded certificate
- warn if private key missing
- change error return codes
2021-07-23 18:19:36 -06:00
Asif Bacchus 5ded2bc320 refactor(entrypoint): use lowercase boolean values
- convert boolean environment vars to lowercase
- allows single use between shell and JavaScript
2021-07-23 18:04:48 -06:00
Asif Bacchus a184866de3 refactor(entrypoint): remove export function
- never a need to export keypair, cert is always enough
2021-07-23 17:53:42 -06:00
Asif Bacchus c48e985d23 feature(entrypoint): generate self-signed certificate
- generate via specific invocation
- auto-generate if SSL and no mounted certificate found
- allow specifying hostname for certificate
2021-07-23 17:19:58 -06:00
Asif Bacchus e8d238f3c3 feature(compose): sample stack with NGINX server 2021-07-23 14:48:50 -06:00
Asif Bacchus 8f35aaef11 feature: allow non-secure connections
- default to secure
- parameterize via env var
2021-07-23 13:31:01 -06:00
Asif Bacchus ee38b2468e feature(livereload): add debug output as default 2021-07-22 21:21:59 -06:00
Asif Bacchus fdfba8ab4f fix(livereload): match watch dir with dockerfile 2021-07-22 20:36:12 -06:00
Asif Bacchus 2c3bcf27d7 refactor(dockerfile): change order for faster build
- move file copy to near end since scripts change often
2021-07-22 18:45:29 -06:00
Asif Bacchus ba7d33943e fix(entrypoint): fix shell action 2021-07-22 18:44:29 -06:00
Asif Bacchus f30e22b333 build(dockerfile): temp comment labels for faster build 2021-07-22 18:44:00 -06:00
Asif Bacchus 9ee212fcef fix(dockerfile): fix minor bugs stopping build 2021-07-22 17:38:43 -06:00
Asif Bacchus 1ca3b48d0d refactor(dockerfile): remove old dockerfile
- delete non-tls version of dockerfile
- set internal version as build-arg
2021-07-22 17:28:21 -06:00
Asif Bacchus d864231db1 refactor(dockerfile): cleanup permissions
- set proper permissions for server script and entrypoint
2021-07-22 17:21:55 -06:00
Asif Bacchus 7828ff2125 struct(dockerfile): add openssl 2021-07-22 17:16:15 -06:00
Asif Bacchus 0fbd3303e4 struct(entrypoint): skeleton entrypoint script
- basic operation flow with placeholder functions
- implement server and shell launch
- allow commands to pass to shell
- update Dockerfile to load entrypoint only
- update Dockerfile to set permissions for certs directory
2021-07-22 17:15:31 -06:00
Asif Bacchus e82fad68ac feature(server invocation script): 2021-07-22 16:43:17 -06:00
Asif Bacchus cc10ee2241 struct(Dockerfile): align with previous customizations 2021-07-22 16:36:36 -06:00
Asif Bacchus 9e9abe945f struct(dockerfile): initial build skeleton 2021-07-22 16:22:40 -06:00
Asif Bacchus f21510cdf7 chore(git): update gitignore, gitattributes 2021-07-22 16:22:05 -06:00
Asif Bacchus 48f386c312 refactor(readme): update readme with new domain name 2021-07-09 15:35:53 -06:00
Asif Bacchus 5162e5a283 chore(git): remove VSCode configuration files 2021-07-09 15:35:34 -06:00
Asif Bacchus 2e4178b56e feature(dockerfile): update version and labels
- update to latest node and alpine versions
- update labels to use new domain name
- add internal labels
2021-07-09 15:32:08 -06:00
Asif Bacchus c01de4f3e9 chore(git): update gitattributes
set Dockerfile as mandatory EOF=LF
2021-07-09 15:31:06 -06:00
Asif Bacchus 65ca8dc55b chore(rider): update rider docker configuration 2021-07-09 15:21:26 -06:00
Asif Bacchus f31390a3d9 refactor(dockerfile): bump version, new labels
- update to nodeJS 16
- replace label-schema with opencontainers labels
2021-06-10 21:14:17 -06:00
Asif Bacchus ca1d56ba42 chore(ALL): all files to LF line endings 2021-01-05 14:18:48 -07:00