Setup initial project
This commit is contained in:
commit
db79af06f7
119 changed files with 20761 additions and 0 deletions
7
docker/mongo/docker-entrypoint-init.sh
Normal file
7
docker/mongo/docker-entrypoint-init.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
# Copy the mounted keyfile and set required permissions
|
||||
mkdir -p /etc/mongodb
|
||||
cp /tmp/mongo-keyfile /etc/mongodb/keyfile
|
||||
chmod 400 /etc/mongodb/keyfile
|
||||
chown mongodb:mongodb /etc/mongodb/keyfile
|
||||
exec docker-entrypoint.sh "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue