Mongofile.yml 236 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
version: '3'

services:
  mongo-dev:
    image: mongo:4
    container_name: vitamui-mongo
    hostname: 127.0.0.1
    ports:
      - "27018:27018"
    volumes:
      - ./scripts:/scripts
    command: mongod --replSet "rs0" --port=27018