homelab/roles/immich/templates/immich.json.j2

176 lines
3.8 KiB
Django/Jinja

{
"ffmpeg": {
"crf": 30,
"threads": 0,
"preset": "veryslow",
"targetVideoCodec": "vp9",
"acceptedVideoCodecs": ["h264", "hevc", "vp9", "av1"],
"targetAudioCodec": "libopus",
"acceptedAudioCodecs": ["aac", "mp3", "libopus", "pcm_s16le"],
"acceptedContainers": ["mov", "ogg", "webm"],
"targetResolution": "1080",
"maxBitrate": "0",
"bframes": -1,
"refs": 0,
"gopSize": 0,
"npl": 0,
"temporalAQ": false,
"cqMode": "auto",
"twoPass": true,
"preferredHwDevice": "auto",
"transcode": "required",
"tonemap": "hable",
"accel": "disabled",
"accelDecode": false
},
"job": {
"backgroundTask": {
"concurrency": 1
},
"smartSearch": {
"concurrency": 1
},
"metadataExtraction": {
"concurrency": 1
},
"faceDetection": {
"concurrency": 1
},
"search": {
"concurrency": 1
},
"sidecar": {
"concurrency": 1
},
"library": {
"concurrency": 1
},
"migration": {
"concurrency": 1
},
"thumbnailGeneration": {
"concurrency": 1
},
"videoConversion": {
"concurrency": 1
},
"notifications": {
"concurrency": 1
}
},
"logging": {
"enabled": true,
"level": "warn"
},
"machineLearning": {
"enabled": true,
"url": "http://immich-machine-learning-1:3003",
"clip": {
"enabled": true,
"modelName": "ViT-B-32__openai"
},
"duplicateDetection": {
"enabled": true,
"maxDistance": 0.01
},
"facialRecognition": {
"enabled": true,
"modelName": "buffalo_l",
"minScore": 0.7,
"maxDistance": 0.5,
"minFaces": 3
}
},
"map": {
"enabled": true,
"lightStyle": "https://tiles.immich.cloud/v1/style/light.json",
"darkStyle": "https://tiles.immich.cloud/v1/style/dark.json"
},
"reverseGeocoding": {
"enabled": true
},
"metadata": {
"faces": {
"import": false
}
},
"oauth": {
"autoLaunch": true,
"autoRegister": true,
"buttonText": "{{ openid_button_text }}",
"clientId": "{{ openid_client_id }}",
"clientSecret": "{{ openid_client_secret }}",
"defaultStorageQuota": {{ default_storage_quota_gib }},
"enabled": {{ openid_enabled | string | lower }},
"issuerUrl": "{{ openid_issuer_url }}",
"mobileOverrideEnabled": false,
"mobileRedirectUri": "",
"scope": "{{ openid_scopes }}",
"signingAlgorithm": "{{ openid_signing_algorithm }}",
"profileSigningAlgorithm": "none",
"storageLabelClaim": "preferred_username",
"storageQuotaClaim": "immich_quota"
},
"passwordLogin": {
"enabled": true
},
"storageTemplate": {
"enabled": false,
"hashVerificationEnabled": true,
"template": {% raw %}"{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"{% endraw %}
},
"image": {
"thumbnail": {
"format": "webp",
"size": 250,
"quality": 80
},
"preview": {
"format": "webp",
"size": 1440,
"quality": 80
},
"colorspace": "p3",
"extractEmbedded": false
},
"newVersionCheck": {
"enabled": true
},
"trash": {
"enabled": true,
"days": 30
},
"theme": {
"customCss": ""
},
"library": {
"scan": {
"enabled": true,
"cronExpression": "0 0 * * *"
},
"watch": {
"enabled": false
}
},
"server": {
"externalDomain": "{{ external_domain }}",
"loginPageMessage": ""
},
"notifications": {
"smtp": {
"enabled": {{ smtp_enabled | string | lower }},
"from": "{{ smtp_from }}",
"replyTo": "",
"transport": {
"ignoreCert": false,
"host": "{{ smtp_host }}",
"port": {{ smtp_port }},
"username": "{{ smtp_username }}",
"password": "{{ smtp_password }}"
}
}
},
"user": {
"deleteDelay": 7
}
}