services:
  mongo:
    image: mongo:7.0
    restart: always
    volumes:
      - ./mongo_data:/data/db
    ports:
      - 127.0.0.1:37017:27017
  app:
    image: myarch/claim-insight:2.8
    environment:
      - MONGODB_HOST=mongo
    restart: always
    depends_on:
      - mongo
    volumes:
      - ./logs:/app/logs
      - ./uploads:/app/uploads
      - ./load:/app/load
      - ./etc:/app/etc
    ports:
      - 127.0.0.1:5080:5080