require_relative "boot"

require "rails/all"

Bundler.require(*Rails.groups)

module ReproApp
  class Application < Rails::Application
    config.load_defaults 8.0

    # Advisory precondition: Active Storage image processing through ImageMagick.
    config.active_storage.variant_processor = :mini_magick
    # Blobs live on the server disk (advisory: arbitrary file READ needs the Disk service).
    config.active_storage.service = :local
    # Analysis runs inside the request that attaches the file.
    config.active_job.queue_adapter = :inline
    config.eager_load = false
    config.hosts.clear
  end
end
