version: '2'

services:
  mongodb:
    image: mongo:3.4.2
    volumes:
      - ./volumes/mongodb:/data/db
    ports:
      - "27017:27017"
    restart: always
    environment:
      AUTH: "no"
  redis:
    image: redis
    volumes:
      - ./volumes/redis/:/data
    ports:
      - "6379:6379"
    restart: always
