From 929a1cdf85cbf60dd300cfa84b52bcac7f6f2f10 Mon Sep 17 00:00:00 2001 From: Charles Szilagyi Date: Sun, 26 Jan 2025 15:23:44 +0000 Subject: [PATCH] Improve duplicati.yaml - Generate random encryption secret - Generate random web login password - Make TZ show up in the UI See https://github.com/coollabsio/coolify/issues/4666 Duplicati service won't start if the encryption secret is empty. It is not possible to log in if the web password is not set. --- templates/compose/duplicati.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/compose/duplicati.yaml b/templates/compose/duplicati.yaml index 00a66095ff..6ce37dd0b4 100644 --- a/templates/compose/duplicati.yaml +++ b/templates/compose/duplicati.yaml @@ -11,7 +11,9 @@ services: - SERVICE_FQDN_DUPLICATI_8200 - PUID=1000 - PGID=1000 - - TZ=Europe/Madrid + - TZ=${TZ:-Europe/London} + - SETTINGS_ENCRYPTION_KEY=${SERVICE_PASSWORD_ENCRYPT} + - DUPLICATI__WEBSERVICE_PASSWORD=${SERVICE_PASSWORD_WEB} volumes: - duplicati-config:/config - duplicati-backups:/backups