add timesync between host and container
This commit is contained in:
@@ -79,6 +79,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./files/dbs/icingaweb:/var/lib/mysql
|
- ./files/dbs/icingaweb:/var/lib/mysql
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
networks:
|
networks:
|
||||||
- icinga
|
- icinga
|
||||||
environment:
|
environment:
|
||||||
@@ -186,6 +187,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./files/icinga2:/data
|
- ./files/icinga2:/data
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- ${ICINGA_API_PORT:-5665}:5665 # only need if you plan to use api from other sources as icingaweb2
|
- ${ICINGA_API_PORT:-5665}:5665 # only need if you plan to use api from other sources as icingaweb2
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user