Skip to content

Instantly share code, notes, and snippets.

@mustafa-travisci
Created April 2, 2021 13:47
Show Gist options
  • Save mustafa-travisci/54db19a85f8b247ec746fb0779f2b25c to your computer and use it in GitHub Desktop.
Save mustafa-travisci/54db19a85f8b247ec746fb0779f2b25c to your computer and use it in GitHub Desktop.
MongoDB4.4 on Focal
---
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