casjay 5eb3ff1598
🗃️ Committing everything that changed 🗃️
applications/
configs/
lists/
wwwroot/
2023-08-22 17:53:03 -04:00

10 lines
509 B
Bash

mkdir -p "/etc/mongodb"
sh -c "$(curl -q -LSsf "https://rpm.nodesource.com/setup_${NODE_VERSION}.x")" &&
curl -q -LSsf "https://dl.yarnpkg.com/rpm/yarn.repo" -o /etc/yum.repos.d/yarn.repo &&
rpm --import "https://dl.yarnpkg.com/rpm/pubkey.gpg" &&
yum install -yy nodejs yarn &&
bash /tmp/setup_mongodb.sh
cp -Rf "/tmp/mongo-express" "/usr/local/share/template-files/config"
cp -Rf "/usr/local/share/template-files/config/mongodb/." "/etc/mongodb/"
ln -sf "/etc/mongodb/mongod.conf" "/etc/mongod.conf"