Files
wekan/abra.sh
Moritz 4729fb7824
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
chore: publish 3.3.0+v7.91 release
2025-06-10 14:50:29 +02:00

26 lines
660 B
Bash

export ENTRYPOINT_VERSION=v4
set_settings(){
mongosh wekan --eval '
db.settings.updateOne(
{},
{
$set: {
"disableForgotPassword": true,
"displayAuthenticationMethod" : false,
"disableRegistration" : true,
"customTopLeftCornerLogoImageUrl": "'$LOGO_IMG_URL'",
"customTopLeftCornerLogoLinkUrl": "'$LOGO_LINK_URL'",
}
}
)'
}
show_mongo_version (){
mongosh --eval 'db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )'
}
update_mongo_version (){
mongosh --eval 'db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )'
}