mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-09-20 15:57:40 -04:00
🗃️ Committing everything that changed 🗃️
applications/ configs/ lists/ wwwroot/
This commit is contained in:
9
applications/mongodb/scripts/install.sh
Normal file
9
applications/mongodb/scripts/install.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
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"
|
Reference in New Issue
Block a user