Created
April 2, 2021 13:47
-
-
Save mustafa-travisci/54db19a85f8b247ec746fb0779f2b25c to your computer and use it in GitHub Desktop.
MongoDB4.4 on Focal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
language: node_js | |
os: linux | |
dist: focal | |
node_js: | |
- '12' | |
addons: | |
apt: | |
sources: | |
- sourceline: deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse | |
key_url: https://www.mongodb.org/static/pgp/server-4.4.asc | |
before_install: | |
- sudo apt-get -y purge mongodb-server-core | |
- sudo rm -rf /var/lib/mongodb /var/log/mongodb | |
- sudo apt-get -y install mongodb-org | |
- sudo systemctl start mongod | |
- sudo systemctl status mongod | |
script: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment