Skip to content

Commit

Permalink
Fettling.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbaggett committed May 17, 2024
1 parent 07936b2 commit fbe428e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
sparse-checkout: mongodb

Expand Down
6 changes: 4 additions & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ runtimes:
- [email protected]
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
disabled:
- trufflehog # Trufflehog duplicates gitleaks functionality.
- terrascan
- trivy
enabled:
- [email protected]
- [email protected]
Expand All @@ -25,8 +29,6 @@ lint:
- [email protected]
- git-diff-check
- [email protected]
- [email protected]
- [email protected]
- [email protected]
definitions:
- name: markdownlint
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM mongo:7.0
LABEL maintainer="Matthew Baggett <[email protected]>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-mongodb" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker-mongodb"
HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --retries=5 \
CMD echo 'db.stats().ok' | mongosh --norc --quiet --host=localhost:27017
COPY mongo-init.js /docker-entrypoint-initdb.d/

0 comments on commit fbe428e

Please sign in to comment.