Preserve Photos deployment configuration and verify source dependencies

This commit is contained in:
Pigway
2026-10-08 19:25:37 +08:00
parent bb452649b8
commit 0b9b548d20
5 changed files with 100 additions and 0 deletions
+3
View File
@@ -376,6 +376,9 @@ class Deploy:
service["image"] = image
proposed = self.secret_config()
service["environment"].update(proposed)
for key in ("SYNOLOGY_PHOTOS_URL", "SYNOLOGY_PHOTOS_CERT_SHA256"):
if self.env.get(key):
service["environment"][key] = self.env[key]
service["environment"].update(
KOKONNA_MOCK=self.env["PROD_MOCK"],
KOKONNA_WRITE_ENABLED=self.env["PROD_WRITE_ENABLED"],