36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
# config.yaml (Beispiel)
|
|
s3:
|
|
endpoint: "https://fsn1.your-objectstorage.com/"
|
|
access_key: "UG950FCGWFYRXSXXVUAH"
|
|
secret_key: "rXpspNhboZY6zNZi7djjq2QaXPA4uwsO9jXf4AXk"
|
|
bucket: "trapper-meles"
|
|
|
|
postgres:
|
|
dsn: "postgresql://postgres:DFGk5s9H21lKao2K@136.243.41.58:7777/meles"
|
|
|
|
deermapper-api:
|
|
base_url: "https://webapp.deermapper.net/api/icu"
|
|
apiKey: "695bc217-3b40-48bb-bb12-17fc5b08b320"
|
|
|
|
app:
|
|
entrance_prefix: "icu/entrance/"
|
|
processed_prefix: "icu/processed/"
|
|
thumb_prefix: "icu/thumbnails/"
|
|
min_age_seconds: 90
|
|
poll_seconds: 30
|
|
# OCR crop tunables (defaults are usually fine)
|
|
ocr_crop_w_frac: 0.63
|
|
ocr_crop_h_frac: 0.05
|
|
thumb_max: 512
|
|
exiftool_timeout_seconds: 15
|
|
job_sleep_seconds: 0.0
|
|
parallel_workers: 6
|
|
s3_max_pool_connections: 48
|
|
# Optional processing switches:
|
|
# - false => image still gets moved + thumbnail, and backfill flag is set in import_job
|
|
enable_ocr: true
|
|
enable_exif: true
|
|
enable_deermapper_api: false
|
|
deermapper_api_timeout_seconds: 20
|
|
deermapper_api_image_field: "image"
|