version: '3.8'

services:
  mongodb:
    image: mongo:7.0.6
    ports:
      - "27017:27017"
    command: mongod -vvvvv --logpath /var/log/mongodb/mongodb.log
