Skip to content

Various cleanup, tightening up, and switch to the official mongo image #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 63 commits into
base: master
Choose a base branch
from

Conversation

jeffbyrnes
Copy link

This is a bunch of things I ended up doing to make this logger work better on my Mac, whether run on bare metal or via Docker Compose.

@jeffbyrnes jeffbyrnes force-pushed the main branch 2 times, most recently from da39e2a to 5bed952 Compare January 22, 2022 19:52
@jeffbyrnes
Copy link
Author

@brennentsmith you’re welcome to tell me to buzz off w/ all this, but seemed like some nice cleanup & maintenance.

Unnecessary w/ the main Compose config
The parent node:16 image already designates this.
It’s the default port.
* Bins are linked in such a way that you do not need paths
* Add `*-daemon` scripts that start things via forever as long-running
background services
* Add `start` script to easily start up the scripts via forever
* Fix `speedtest` script to point to correct file
* Uses Docker Volumes, avoiding issues w/ mounting a path for data
* Uses an init script to set up the database, which is more clear
Sometimes handy to have a UI to inspect the MongoDB container
More data is nice, to see just how variable speeds are.
Makes it more clear how the npm scripts help run things
* More syntax highlighting
* Consistent syntax & whitespace
* Satisfy Markdown linter (mdl)
* Show how to use `npx` to run tools like forever
* More syntax highlighting
* Consistent syntax & whitespace
* Satisfy Markdown linter (mdl)
* Show how to use npm scripts with forever
* Reorganize for clarity & less repetition
jeffbyrnes and others added 12 commits September 6, 2022 21:31
Ties the room together
Refactor to use official mongodb image, overall cleanup, automate build & push
Maybe this will let the builds work again
Provides a better example for operators
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…r/build-push-action-4

Bump docker/build-push-action from 3 to 4
jeffbyrnes and others added 17 commits June 28, 2023 10:00
* Drop multi-image build
* Use the node image recommended WORKDIR
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](docker/metadata-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…ns/checkout-4

Bump actions/checkout from 3 to 4
…/login-action-3'

* origin/dependabot/github_actions/docker/login-action-3:
  Bump docker/login-action from 2 to 3
…/metadata-action-5'

* origin/dependabot/github_actions/docker/metadata-action-5:
  Bump docker/metadata-action from 4 to 5
…/build-push-action-5'

* origin/dependabot/github_actions/docker/build-push-action-5:
  Bump docker/build-push-action from 4 to 5
Package               Current  Wanted  Latest
=======               =======  ======  ======
config                  3.3.9  3.3.11  3.3.11
eslint                 8.43.0  8.57.0   9.4.0
eslint-plugin-import   2.27.5  2.29.1  2.29.1
express                4.18.2  4.19.2  4.19.2
jquery                  3.7.0   3.7.1   3.7.1
mongodb                4.16.0  4.17.2   6.7.0
nodemon                2.0.22  2.0.22   3.1.3

Signed-off-by: Jeff Byrnes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant