add timesync between host and container

This commit is contained in:
2025-02-22 20:57:13 +01:00
parent feebd9a71e
commit d36afb52cf

View File

@@ -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: