[arm64] Port scripts between mediamtx-nocodb to support arm64 (#15254)

This commit is contained in:
Sam Heinz
2026-06-22 04:42:17 +10:00
committed by GitHub
parent 518b8406e3
commit df187136ef
27 changed files with 41 additions and 32 deletions
+7 -3
View File
@@ -13,11 +13,15 @@ setting_up_container
network_check
update_os
read -p "${TAB3}Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8
if [[ "$install_mongodb_8" =~ ^[Yy]$ ]]; then
if [[ "$(arch_resolve)" == "arm64" ]]; then
MONGO_VERSION="8.0" setup_mongodb
else
MONGO_VERSION="7.0" setup_mongodb
read -p "${TAB3}Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8
if [[ "$install_mongodb_8" =~ ^[Yy]$ ]]; then
MONGO_VERSION="8.0" setup_mongodb
else
MONGO_VERSION="7.0" setup_mongodb
fi
fi
sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf