UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
DIAT
AAP Mongo
Commits
5a78b83b
You need to sign in or sign up before continuing.
Commit
5a78b83b
authored
Aug 23, 2021
by
WingKwan Lau
Browse files
Update Dockerfile
parent
1a7d3d53
Pipeline
#439068
passed with stages
in 6 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Dockerfile
Dockerfile
+3
-0
No files found.
Dockerfile
View file @
5a78b83b
...
@@ -38,3 +38,6 @@ RUN chown -R mongodb:mongodb /usr/local/bin
...
@@ -38,3 +38,6 @@ RUN chown -R mongodb:mongodb /usr/local/bin
# switch back to mongodb (for non-containerized environments)
# switch back to mongodb (for non-containerized environments)
USER
mongodb:mongodb
USER
mongodb:mongodb
HEALTHCHECK
--interval=15s --timeout=3s CMD echo 'db.runCommand("ping").ok' | mongo localhost:27017/test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment