version: '2'
services:
  mongo:
    image: mongo:latest
    ports:
      - 27117:27017
    volumes:
      - ~/mongodb:/data/db
    command: mongod --auth
  mongo_express:
    image: mongo-express:latest
    ports:
      - 3003:8081
    links:
      - mongo 
    depends_on:
      - mongo
    environment:
      ME_CONFIG_MONGODB_PORT: '27017'
      ME_CONFIG_MONGODB_ENABLE_ADMIN: 'true'
      ME_CONFIG_MONGODB_ADMINUSERNAME: 'root'
      ME_CONFIG_MONGODB_ADMINPASSWORD: 'root'
  redis:
    image: redis:latest
    ports:
      - 6379
version: '2'
services:
  mongo:
    image: mongo:latest
    ports:
      - 27117:27017
    volumes:
      - ~/mongodb:/data/db
    command: mongod --auth
  mongo_express:
    image: mongo-express:latest
    ports:
      - 3003:8081
    links:
      - mongo 
    depends_on:
      - mongo
    environment:
      ME_CONFIG_MONGODB_PORT: '27017'
      ME_CONFIG_MONGODB_ENABLE_ADMIN: 'true'
      ME_CONFIG_MONGODB_ADMINUSERNAME: 'root'
      ME_CONFIG_MONGODB_ADMINPASSWORD: 'root'
  redis:
    image: redis:latest
    ports:
      - 6379:6379

Fix invalid expose port on redis instance
Fix invalid expose port on redis instance
