mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-19 00:34:25 -05:00
5eb3ff1598
applications/ configs/ lists/ wwwroot/
10 lines
509 B
Bash
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"
|