Skip to content

Latest commit

 

History

History

azure-blob-storage-crp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Overview

Azure Blob Storage CRP Service

Usage

azure-blob-storage-crp

Usage: azure-blob-storage-crp <COMMAND>

Commands:
  start  Start service
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

azure-blob-storage-crp start

Start service

Usage: azure-blob-storage-crp start --config <CONFIG>

Options:
  -c, --config <CONFIG>  Config file to use
  -h, --help             Print help

Example Config

port = 3081

indexing_strategy = { poll_interval = 60 }

db_file = "./db.redb"

log_level_default = "error"
log_level_app = "trace"

[[blob_storage.containers]]
account = "cameronsa1"
container = "blobstorage1"
filter = "all"

[[blob_storage.containers]]
account = "shareddatastgacct"
container = "shared-data"
filter = { and = [
    { not = { file_ext = "pdf" } },
    { or = [
        { file_ext = "csv" },
        # { file_ext = "json" },
    ]},
    { size = { max = 10_000_000 } }
]}