From 30d447408eb47ce0792c313f85f5144fb3e59403 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Tue, 4 Jun 2024 09:39:29 +0200
Subject: [PATCH] Fix timezone settings for borgmatic in datacore

---
 templates/datacore/docker-compose.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/datacore/docker-compose.yml b/templates/datacore/docker-compose.yml
index 5c23345..536eba2 100644
--- a/templates/datacore/docker-compose.yml
+++ b/templates/datacore/docker-compose.yml
@@ -40,9 +40,9 @@ services:
   borgmatic:
     image: b3vis/borgmatic:1.8
     restart: unless-stopped
+    environment:
+      TZ: 'Europe/Berlin'
     volumes:
-      - /etc/timezone:/etc/timezone:ro
-      - /etc/localtime:/etc/localtime:ro
       - /usr/local/bin/alertalerta.py:/usr/local/bin/alertalerta.py
       - /apps/datacore/${CI_PROJECT_ID}/${CI_COMMIT_REF_NAME}/dbbackup:/mnt/source:ro
       - /apps/datacore/${CI_PROJECT_ID}/${CI_COMMIT_REF_NAME}/borgconfig:/etc/borgmatic.d/
-- 
GitLab