From d36afb52cf93170054dc633f3b7ae3c33f3c7f38 Mon Sep 17 00:00:00 2001
From: anima
Date: Sat, 22 Feb 2025 20:57:13 +0100
Subject: [PATCH] add timesync between host and container
---
compose.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/compose.yml b/compose.yml
index 3033293..98f1208 100644
--- a/compose.yml
+++ b/compose.yml
@@ -79,6 +79,7 @@ services:
restart: always
volumes:
- ./files/dbs/icingaweb:/var/lib/mysql
+ - /etc/localtime:/etc/localtime:ro
networks:
- icinga
environment:
@@ -186,6 +187,7 @@ services:
restart: always
volumes:
- ./files/icinga2:/data
+ - /etc/localtime:/etc/localtime:ro
ports:
- ${ICINGA_API_PORT:-5665}:5665 # only need if you plan to use api from other sources as icingaweb2
networks: