version: '3'

services:
  mongo:
    volumes:
      - ./data:/data/db

  app:
    container_name: ts-node-app-dev
    command: npm dev -L

volumes:
  mongo-data:
    driver: local
