version: "3.8"
services:
  detection:
    build: .
    ports:
      - "8080:8080"
    depends_on:
      - database
  database:
    image: mongo
    ports:
      - "27017:27017"