Skip to content

Commit

Permalink
updates to keyfile gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael7371 committed Nov 4, 2024
1 parent 8d61357 commit 20187c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker-compose-mongo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ services:
dos2unix /etc/cron.d/manage-volume-cron
chmod 644 /etc/cron.d/manage-volume-cron
systemctl restart cron
echo "$MONGO_DB_KEYFILE_STRING" > /data/keyfile-import.txt
cp /data/keyfile-import.txt /data/keyfile.txt
echo "$MONGO_DB_KEYFILE_STRING" > /data/keyfile.txt
chmod 400 /data/keyfile.txt
chown 999:999 /data/keyfile.txt
Expand Down

0 comments on commit 20187c3

Please sign in to comment.