removed manual permissions maangement
All checks were successful
ci/woodpecker/push/db Pipeline was successful
All checks were successful
ci/woodpecker/push/db Pipeline was successful
This commit is contained in:
@@ -19,7 +19,5 @@ wait_for_file /vault/secrets/mongo.kf "replica set keyFile"
|
|||||||
|
|
||||||
export MONGO_INITDB_ROOT_USERNAME="$(cat /vault/secrets/MONGO_INITDB_ROOT_USERNAME)"
|
export MONGO_INITDB_ROOT_USERNAME="$(cat /vault/secrets/MONGO_INITDB_ROOT_USERNAME)"
|
||||||
export MONGO_INITDB_ROOT_PASSWORD="$(cat /vault/secrets/MONGO_INITDB_ROOT_PASSWORD)"
|
export MONGO_INITDB_ROOT_PASSWORD="$(cat /vault/secrets/MONGO_INITDB_ROOT_PASSWORD)"
|
||||||
chown 999:999 /vault/secrets/mongo.kf
|
|
||||||
chmod 0400 /vault/secrets/mongo.kf
|
|
||||||
|
|
||||||
exec /usr/local/bin/docker-entrypoint.sh "$@"
|
exec /usr/local/bin/docker-entrypoint.sh "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user