version: '3.7' services: mongodb: image: mongo ports: - "27017:27017"