+4
-17
hosts/marvin/services/immich-config.json
+4
-17
hosts/marvin/services/immich-config.json
···
9
9
"ffmpeg": {
10
10
"accel": "vaapi",
11
11
"accelDecode": true,
12
-
"acceptedAudioCodecs": [
13
-
"aac",
14
-
"mp3",
15
-
"libopus"
16
-
],
17
-
"acceptedContainers": [
18
-
"mov",
19
-
"ogg",
20
-
"webm"
21
-
],
22
-
"acceptedVideoCodecs": [
23
-
"h264"
24
-
],
12
+
"acceptedAudioCodecs": ["aac", "mp3", "libopus"],
13
+
"acceptedContainers": ["mov", "ogg", "webm"],
14
+
"acceptedVideoCodecs": ["h264"],
25
15
"bframes": -1,
26
16
"cqMode": "auto",
27
17
"crf": 23,
···
141
131
"minRecognitionScore": 0.8,
142
132
"modelName": "PP-OCRv5_mobile"
143
133
},
144
-
"urls": [
145
-
"http://localhost:3003"
146
-
]
134
+
"urls": ["http://localhost:3003"]
147
135
},
148
136
"map": {
149
137
"darkStyle": "https://tiles.immich.cloud/v1/style/dark.json",
···
205
193
"enabled": true
206
194
},
207
195
"server": {
208
-
"externalDomain": "https://img.pyrox.dev",
209
196
"loginPageMessage": "",
210
197
"publicUsers": true
211
198
},
+1
hosts/marvin/services/immich.nix
+1
hosts/marvin/services/immich.nix
···
14
14
settings = (builtins.fromJSON (builtins.readFile ./immich-config.json)) // {
15
15
oauth.clientSecret._secret = config.age.secrets.immich-oauth-secret.path;
16
16
notifications.smtp.password._secret = config.age.secrets.immich-mail-pw.path;
17
+
server.externalDomain = "https://${d.extUrl}";
17
18
};
18
19
};
19
20
immich-public-proxy = {
+5
-13
hosts/prefect/services/caddy.nix
+5
-13
hosts/prefect/services/caddy.nix
···
211
211
'';
212
212
};
213
213
214
+
# Immich
214
215
${pns.immich.extUrl} = {
215
216
extraConfig = ''
217
+
@public path /share /share/*
218
+
handle @public {
219
+
reverse_proxy ${marvin}:${toString pns.immich.pubProxy}
220
+
}
216
221
reverse_proxy ${marvin}:${toString pns.immich.port}
217
222
'';
218
223
};
219
224
220
-
# Pingvin Share
221
-
${pns.pingvin-share.extUrl} = {
222
-
extraConfig = ''
223
-
reverse_proxy /api/* ${marvin}:${toString pns.pingvin-share.be-anubis} {
224
-
header_up X-Real-IP {remote_host}
225
-
header_up X-Http-Version {http.request.proto}
226
-
}
227
-
reverse_proxy /* ${marvin}:${toString pns.pingvin-share.anubis} {
228
-
header_up X-Real-IP {remote_host}
229
-
header_up X-Http-Version {http.request.proto}
230
-
}
231
-
'';
232
-
};
233
225
# Tangled Services
234
226
${pns.tangled-knot.extUrl} = {
235
227
extraConfig = ''