/
/
/
1{
2 "ffmpeg": {
3 "crf": 23,
4 "threads": 0,
5 "preset": "ultrafast",
6 "targetVideoCodec": "h264",
7 "acceptedVideoCodecs": ["h264"],
8 "targetAudioCodec": "aac",
9 "acceptedAudioCodecs": ["aac", "mp3", "libopus", "pcm_s16le"],
10 "acceptedContainers": ["mov", "ogg", "webm"],
11 "targetResolution": "720",
12 "maxBitrate": "0",
13 "bframes": -1,
14 "refs": 0,
15 "gopSize": 0,
16 "temporalAQ": false,
17 "cqMode": "auto",
18 "twoPass": false,
19 "preferredHwDevice": "auto",
20 "transcode": "required",
21 "tonemap": "hable"{% if gpu_enabled %},
22
23 "accel": "nvenc",
24 "accelDecode": true{% else %},
25
26 "accel": "disabled",
27 "accelDecode": false{% endif %}
28 },
29 "backup": {
30 "database": {
31 "enabled": true,
32 "cronExpression": "0 02 * * *",
33 "keepLastAmount": 14
34 }
35 },
36 "job": {
37 "backgroundTask": {
38 "concurrency": 5
39 },
40 "smartSearch": {
41 "concurrency": 2
42 },
43 "metadataExtraction": {
44 "concurrency": 5
45 },
46 "faceDetection": {
47 "concurrency": 2
48 },
49 "search": {
50 "concurrency": 5
51 },
52 "sidecar": {
53 "concurrency": 5
54 },
55 "library": {
56 "concurrency": 5
57 },
58 "migration": {
59 "concurrency": 5
60 },
61 "thumbnailGeneration": {
62 "concurrency": 3
63 },
64 "videoConversion": {
65 "concurrency": 1
66 },
67 "notifications": {
68 "concurrency": 5
69 }
70 },
71 "logging": {
72 "enabled": true,
73 "level": "{{ immich_log_level }}"
74 },
75 "machineLearning": {
76 "enabled": {{ immich_ml_enabled | lower }},
77 "urls": ["http://immich-machine-learning:3003"],
78 "clip": {
79 "enabled": true,
80 "modelName": "ViT-B-32__openai"
81 },
82 "duplicateDetection": {
83 "enabled": true,
84 "maxDistance": 0.01
85 },
86 "facialRecognition": {
87 "enabled": {{ immich_facial_recognition | lower }},
88 "modelName": "buffalo_l",
89 "minScore": 0.7,
90 "maxDistance": 0.5,
91 "minFaces": 3
92 }
93 },
94 "map": {
95 "enabled": true,
96 "lightStyle": "https://tiles.immich.cloud/v1/style/light.json",
97 "darkStyle": "https://tiles.immich.cloud/v1/style/dark.json"
98 },
99 "reverseGeocoding": {
100 "enabled": true
101 },
102 "metadata": {
103 "faces": {
104 "import": false
105 }
106 },
107 "oauth": {
108 "autoLaunch": false,
109 "autoRegister": true,
110 "buttonText": "Login with OAuth",
111 "clientId": "",
112 "clientSecret": "",
113 "defaultStorageQuota": null,
114 "enabled": false,
115 "issuerUrl": "",
116 "mobileOverrideEnabled": false,
117 "mobileRedirectUri": "",
118 "scope": "openid email profile",
119 "signingAlgorithm": "RS256",
120 "profileSigningAlgorithm": "none",
121 "storageLabelClaim": "preferred_username",
122 "storageQuotaClaim": "immich_quota"
123 },
124 "passwordLogin": {
125 "enabled": true
126 },
127 "storageTemplate": {
128 "enabled": false,
129 "hashVerificationEnabled": true,
130 "template": "{{ "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}" }}"
131 },
132 "image": {
133 "thumbnail": {
134 "format": "webp",
135 "size": 250,
136 "quality": 80
137 },
138 "preview": {
139 "format": "jpeg",
140 "size": 1440,
141 "quality": 80
142 },
143 "colorspace": "p3",
144 "extractEmbedded": false
145 },
146 "newVersionCheck": {
147 "enabled": true
148 },
149 "trash": {
150 "enabled": true,
151 "days": 30
152 },
153 "theme": {
154 "customCss": ""
155 },
156 "library": {
157 "scan": {
158 "enabled": true,
159 "cronExpression": "0 0 * * *"
160 },
161 "watch": {
162 "enabled": false
163 }
164 },
165 "server": {
166 "externalDomain": "",
167 "loginPageMessage": ""
168 },
169 "notifications": {
170 "smtp": {
171 "enabled": false,
172 "from": "",
173 "replyTo": "",
174 "transport": {
175 "ignoreCert": false,
176 "host": "",
177 "port": 587,
178 "username": "",
179 "password": ""
180 }
181 }
182 },
183 "user": {
184 "deleteDelay": 7
185 }
186}