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

177 lines
3.8 KiB
Text
Raw Normal View History

2024-10-30 11:08:12 +05:00
{
"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 }},
2024-10-30 17:42:50 +05:00
"enabled": {{ openid_enabled | string | lower }},
2024-10-30 11:08:12 +05:00
"issuerUrl": "{{ openid_issuer_url }}",
"mobileOverrideEnabled": false,
"mobileRedirectUri": "",
"scope": "{{ openid_scopes }}",
2024-10-30 17:42:50 +05:00
"signingAlgorithm": "{{ openid_signing_algorithm }}",
2024-10-30 11:08:12 +05:00
"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": {
2024-10-30 11:19:25 +05:00
"enabled": {{ smtp_enabled | string | lower }},
"from": "{{ smtp_from }}",
2024-10-30 11:08:12 +05:00
"replyTo": "",
"transport": {
"ignoreCert": false,
2024-10-30 11:19:25 +05:00
"host": "{{ smtp_host }}",
"port": {{ smtp_port }},
"username": "{{ smtp_username }}",
"password": "{{ smtp_password }}"
2024-10-30 11:08:12 +05:00
}
}
},
"user": {
"deleteDelay": 7
}
}