Skip to content

Commit

Permalink
Update Immich config
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkasad committed Jan 9, 2025
1 parent ed65369 commit f85ca6f
Showing 1 changed file with 191 additions and 175 deletions.
366 changes: 191 additions & 175 deletions roles/immich/templates/config.json
Original file line number Diff line number Diff line change
@@ -1,188 +1,204 @@
{
"ffmpeg": {
"crf": 30,
"threads": 0,
"preset": "fast",
"targetVideoCodec": "vp9",
"acceptedVideoCodecs": [
"vp9",
"h264"
],
"targetAudioCodec": "aac",
"acceptedAudioCodecs": [
"aac",
"mp3",
"libopus",
"pcm_s16le"
],
"acceptedContainers": [
"mov",
"ogg",
"webm"
],
"targetResolution": "720",
"maxBitrate": "0",
"bframes": -1,
"refs": 0,
"gopSize": 0,
"npl": 0,
"temporalAQ": false,
"cqMode": "auto",
"twoPass": false,
"preferredHwDevice": "auto",
"transcode": "{{ immich_settings_transcode | ternary('required', 'disabled') }}",
"tonemap": "hable",
"accel": "{{ immich_hwaccel.accel_setting }}",
"accelDecode": {{ immich_hwaccel.enabled | ternary('true', 'false') }}
},
"job": {
"backgroundTask": {
"concurrency": 5
},
"smartSearch": {
"concurrency": 2
},
"metadataExtraction": {
"concurrency": 5
},
"faceDetection": {
"concurrency": 2
},
"search": {
"concurrency": 5
},
"sidecar": {
"concurrency": 5
},
"library": {
"concurrency": 5
},
"migration": {
"concurrency": 5
},
"thumbnailGeneration": {
"concurrency": 3
},
"videoConversion": {
"concurrency": 1
},
"notifications": {
"concurrency": 5
}
},
"logging": {
"enabled": true,
"level": "warn"
},
"machineLearning": {
"enabled": true,
"url": "http://immich-machine-learning: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": "{{ immich_sso.button_text | default('Login with OAuth2') }}",
"clientId": "{{ immich_sso.client_id }}",
"clientSecret": "{{ immich_sso.client_secret }}",
"defaultStorageQuota": 0,
"enabled": {{ immich_sso.enabled | ternary('true', 'false') }},
"issuerUrl": "{{ immich_sso.issuer_url }}",
"mobileOverrideEnabled": false,
"mobileRedirectUri": "",
"scope": "openid email profile",
"signingAlgorithm": "RS256",
"profileSigningAlgorithm": "none",
"storageLabelClaim": "preferred_username",
"storageQuotaClaim": "immich_quota"
"backup": {
"database": {
"cronExpression": "0 02 * * *",
"enabled": true,
"keepLastAmount": 14
}
},
"ffmpeg": {
"accel": "{{ immich_hwaccel.accel_setting }}",
"accelDecode": {{ immich_hwaccel.enabled | ternary('true', 'false') }},
"acceptedAudioCodecs": [
"aac",
"mp3",
"libopus",
"pcm_s16le"
],
"acceptedContainers": [
"webm",
"ogg"
],
"acceptedVideoCodecs": [
"vp9",
"h264",
"av1"
],
"bframes": -1,
"cqMode": "icq",
"crf": 31,
"gopSize": 0,
"maxBitrate": "0",
"preferredHwDevice": "auto",
"preset": "slow",
"refs": 0,
"targetAudioCodec": "aac",
"targetResolution": "original",
"targetVideoCodec": "vp9",
"temporalAQ": false,
"threads": 0,
"tonemap": "hable",
"transcode": "{{ immich_settings_transcode | ternary('required', 'disabled') }}",
"twoPass": true
},
"image": {
"colorspace": "p3",
"extractEmbedded": false,
"preview": {
"format": "jpeg",
"quality": 80,
"size": 1440
},
"thumbnail": {
"format": "webp",
"quality": 80,
"size": 250
}
},
"job": {
"backgroundTask": {
"concurrency": 5
},
"passwordLogin": {
"enabled": true
"faceDetection": {
"concurrency": 2
},
"storageTemplate": {
"enabled": false,
"hashVerificationEnabled": true,
"template": "{{ '{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}' }}"
"library": {
"concurrency": 5
},
"image": {
"thumbnail": {
"format": "webp",
"size": 250,
"quality": 80
},
"preview": {
"format": "jpeg",
"size": 1440,
"quality": 80
},
"colorspace": "p3",
"extractEmbedded": false
"metadataExtraction": {
"concurrency": 5
},
"newVersionCheck": {
"enabled": true
"migration": {
"concurrency": 5
},
"trash": {
"enabled": true,
"days": 30
"notifications": {
"concurrency": 5
},
"theme": {
"customCss": ""
"search": {
"concurrency": 5
},
"library": {
"scan": {
"enabled": true,
"cronExpression": "0 0 * * *"
},
"watch": {
"enabled": false
}
"sidecar": {
"concurrency": 5
},
"server": {
"externalDomain": "https://{{ immich_routing.subdomain }}.{{ general.domain }}",
"loginPageMessage": ""
"smartSearch": {
"concurrency": 2
},
"notifications": {
"smtp": {
"enabled": false,
"from": "",
"replyTo": "",
"transport": {
"ignoreCert": false,
"host": "",
"port": 587,
"username": "",
"password": ""
}
}
"thumbnailGeneration": {
"concurrency": 3
},
"user": {
"deleteDelay": 7
"videoConversion": {
"concurrency": 1
}
},
"library": {
"scan": {
"cronExpression": "0 0 * * *",
"enabled": false
},
"watch": {
"enabled": false
}
},
"logging": {
"enabled": true,
"level": "warn"
},
"machineLearning": {
"clip": {
"enabled": true,
"modelName": "ViT-B-32__openai"
},
"duplicateDetection": {
"enabled": true,
"maxDistance": 0.01
},
"enabled": true,
"facialRecognition": {
"enabled": true,
"maxDistance": 0.5,
"minFaces": 3,
"minScore": 0.7,
"modelName": "buffalo_l"
},
"urls": [
"http://immich-machine-learning:3003"
]
},
"map": {
"darkStyle": "https://tiles.immich.cloud/v1/style/dark.json",
"enabled": true,
"lightStyle": "https://tiles.immich.cloud/v1/style/light.json"
},
"metadata": {
"faces": {
"import": false
}
},
"newVersionCheck": {
"enabled": true
},
"notifications": {
"smtp": {
"enabled": false,
"from": "",
"replyTo": "",
"transport": {
"host": "",
"ignoreCert": false,
"password": "",
"port": 587,
"username": ""
}
}
},
"oauth": {
"autoLaunch": true,
"autoRegister": true,
"buttonText": "{{ immich_sso.button_text | default('Login with OAuth2') }}",
"clientId": "{{ immich_sso.client_id }}",
"clientSecret": "{{ immich_sso.client_secret }}",
"defaultStorageQuota": 0,
"enabled": {{ immich_sso.enabled | ternary('true', 'false') }},
"issuerUrl": "{{ immich_sso.issuer_url }}",
"mobileOverrideEnabled": false,
"mobileRedirectUri": "",
"profileSigningAlgorithm": "none",
"scope": "openid email profile",
"signingAlgorithm": "RS256",
"storageLabelClaim": "preferred_username",
"storageQuotaClaim": "immich_quota"
},
"passwordLogin": {
"enabled": true
},
"reverseGeocoding": {
"enabled": true
},
"server": {
"externalDomain": "https://{{ immich_routing.subdomain }}.{{ general.domain }}",
"loginPageMessage": "",
"publicUsers": true
},
"storageTemplate": {
"enabled": true,
"hashVerificationEnabled": true,
"template": "{{ '{{' }}y{{ '}}' }}/{{ '{{' }}MM{{ '}}' }}/{{ '{{' }}dd{{ '}}' }}/{{ '{{' }}filename{{ '}}' }}"
},
"templates": {
"email": {
"albumInviteTemplate": "",
"albumUpdateTemplate": "",
"welcomeTemplate": ""
}
},
"theme": {
"customCss": ""
},
"trash": {
"days": 30,
"enabled": true
},
"user": {
"deleteDelay": 7
}
}

0 comments on commit f85ca6f

Please sign in to comment.