mongoDB

version: "3.2" 

services:
  mongo: 
    image: mongo:4.4.3
    volumes: 
      - ./data/:/data/db
    ports:  
      - "27017:27017"
    restart: always
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: root