services:
  master:
    image: ${MASTER_IMAGE_TAG:-argus-master:dev}
    container_name: argus-master-e2e
    environment:
      - OFFLINE_THRESHOLD_SECONDS=6
      - ONLINE_THRESHOLD_SECONDS=2
      - SCHEDULER_INTERVAL_SECONDS=1
    ports:
      - "31300:3000"
    volumes:
      - ./private/argus/master:/private/argus/master
      - ./private/argus/metric/prometheus:/private/argus/metric/prometheus
      - ./private/argus/etc:/private/argus/etc
    restart: unless-stopped

networks:
  default:
    driver: bridge
