Sign inSign up

siamdock/mongodb-enterprise

By siamdock

•Updated over 3 years ago

Mongodo Enterprise with mongodb shell client , Bug report email : <Anan P.> [email protected]

Image
0

10K+

siamdock/mongodb-enterprise repository overview

Hardware requires: cpu flag : avx

run command # cat /proc/cpuinfo 
find  flags:  avx    must include  

OS Base :

NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

  • docker-compose.yml
version: '3'
services:
  mongo-enterprise:
      image: siamdock/mongodb-enterprise:latest
      container_name : mongodb-enterprise
      restart: always
      expose:
         - "27017"
      ports:
         - "27017:27017"
      volumes:
         - ./mongodb/log:/siamdock/var/log/mongodb/
         - ./data/:/siamdock/var/lib/mongodb


⁠example add user: root to management MongoDB system

db.createUser( { user: "root",
          pwd: "<password>",
          roles: [ "userAdminAnyDatabase",
                   "dbAdminAnyDatabase",
                   "readWriteAnyDatabase",
                  'clusterMonitor'] ,
mechanisms: [ "SCRAM-SHA-256" ],
passwordDigestor: "server"
 } )
  • and then edit file /etc/mongod.conf remove comment two line same as below
security:
  authorization: enabled
  • and restart docker container

Tag summary

Content type

Image

Digest

sha256:ab1401666…

Size

456.7 MB

Last updated

over 3 years ago

docker pull siamdock/mongodb-enterprise