Commit Graph

92 Commits

Author SHA1 Message Date
41282ba070 chore(ide): update docker build config 2023-03-19 23:47:31 -06:00
016f3be4bd refactor(node): resync package-lock.json 2023-03-19 23:45:45 -06:00
29867aef13 refactor(node): update npm, and cmd-opts 2023-03-19 23:44:44 -06:00
cc8f0507f2 feature(node): bump express version to latest 2023-03-19 23:38:02 -06:00
7406cb88b0 chore(ide): update docker build config 2023-03-19 23:09:06 -06:00
c2befd3d62 refactor(docker): bump node and alpine versions 2023-03-19 23:07:43 -06:00
12ff81b91c feature(readme): update readme
- include monitoring multiple directories
2022-05-02 00:38:44 -06:00
4b8e019b84 chore(ide): update docker build params 2022-05-02 00:38:16 -06:00
6970776aa8 feature: watch 5 directories vs 1 2022-05-02 00:31:19 -06:00
a17a9d38fd refactor(readme): update readme
- add changelog section
- reformat file
2022-02-26 22:13:08 -07:00
f1b0dc4c8b chore(ide): update docker build args 2022-02-26 22:12:51 -07:00
dc732efdb7 feature(dockerfile): multi-stage build
- install node dependencies in builder stage
- final stage based on alpine with minimal nodejs installation
- npm not present, prevents idiotic lingering security issues
- 50% smaller final image
2022-02-26 21:59:05 -07:00
ec07b94cd3 chore(ide): update docker build args 2022-02-26 20:49:52 -07:00
ef87879b60 chore(dockerfile): bump alpine base version 2022-02-26 20:46:28 -07:00
48745eccbb chore(ide): add Rider docker build configuration 2022-02-26 20:46:09 -07:00
c6ccca24f7 update readme 2021-08-01 02:32:09 -06:00
5bc0555579 chore(license): add license, import relevant licenses 2021-08-01 02:22:59 -06:00
81267cdb7c fix(dockerfile): fix readme location in documentation label 2021-07-30 17:18:39 -06:00
f673f94283 fix(dockerfile): use tini to correct error code on exit
- node returns error on sigterm but this normal for docker termination
- coupled with javascript signal capture, tini ignores return 143,
reports 0
- allows for proper automatic restart since no error is reported
2021-07-30 17:10:37 -06:00
5994f3b82e perf(dockerfile): moved copy file order
- moved node file copy order, allow for package.json usage
- invocation js moved after node install, faster builds
2021-07-30 17:07:46 -06:00
106fe86cb9 feature(livereload): rewrite javascript: graceful async socket close
- rewrite javascript livereload script to use object for healthcheck
- aysnc operations shutting down healthcheck and livereload sockets
- handle signals properly
- fix error code reported by signals (node issue)
2021-07-30 17:06:05 -06:00
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
c0a4fc1c6c fix(env): update env file to match new exclusion defaults 2021-07-29 22:53:51 -06:00
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
8cafe6e164 fix readme formatting error 2021-07-28 04:24:42 -06:00
99cc14532c docs(readme): update readme to reflect fixed exclusions 2021-07-28 04:20:50 -06:00
13ec1a72e9 style(livereload): format code 2021-07-28 04:12:19 -06:00
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
574b6e1e07 refactor(dockerfile): update existing packages to latest versions 2021-07-28 03:50:03 -06:00
d26d8a822f updated README for version 2.x 2021-07-24 19:56:09 -06:00
d0eb4cc821 feature(dockerfile): allow setting separate GID 2021-07-24 16:21:07 -06:00
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
2889c153f3 feature(compose): nginx dependant on healthy livereload 2021-07-24 03:03:31 -06:00
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
41dcd6a5bb refactor(entrypoint): mod permissions on fullchain 2021-07-24 02:12:44 -06:00
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
81cfe975b4 refactor(entrypoint): move HTTP/S message to javascript 2021-07-23 23:45:58 -06:00
e83dce3304 fix(livereload): process env vars as strings not boolean 2021-07-23 23:04:44 -06:00
7ce5738399 fix(compose): certs dir writable by livereload
- readonly mapping would prevent cert auto-generation
2021-07-23 19:25:23 -06:00
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
1e7531e632 chore: update and use consistent project name 2021-07-23 18:36:14 -06:00
b2a02407b9 refactor(compose): use proper image tag 2021-07-23 18:29:38 -06:00
f196697569 chore(dockerfile): re-enable extra labels 2021-07-23 18:22:40 -06:00
f77961145e struct(entrypoint): add notation for HTTP-only mode 2021-07-23 18:20:47 -06:00
3001dbca73 feature(entrypoint): show loaded certificate
- warn if private key missing
- change error return codes
2021-07-23 18:19:36 -06:00
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
a184866de3 refactor(entrypoint): remove export function
- never a need to export keypair, cert is always enough
2021-07-23 17:53:42 -06:00
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
e8d238f3c3 feature(compose): sample stack with NGINX server 2021-07-23 14:48:50 -06:00
8f35aaef11 feature: allow non-secure connections
- default to secure
- parameterize via env var
2021-07-23 13:31:01 -06:00