-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a74f620
commit cfc73e6
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
FROM mongo:6.0.15 | ||
RUN apt-get update && apt-get install -y curl iputils-ping | ||
COPY ./mongo-init.js /docker-entrypoint-initdb.d/ | ||
FROM mongo:5.0.23 | ||
RUN openssl rand --base64 768 > /data/replica.key | ||
RUN chmod 400 /data/replica.key | ||
RUN chown 999:999 /data/replica.key |