Preserve Photos deployment configuration and verify source dependencies
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user