diff --git a/docker-compose.yml b/docker-compose.yml index a69a74e..23543dc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,21 +12,13 @@ services: - ./mosquitto/log:/mosquitto/log ports: - 1883:1883 - healthcheck: - test: ["CMD", "mosquitto_sub", "-t", "$$SYS/#", "-C", "1", "-i", "healthcheck", "-W", "3", "--port", "1880"] - start_period: 15s - start_interval: 1s - interval: 5s - timeout: 10s - retries: 5 z2m: container_name: zigbee2mqtt image: koenkk/zigbee2mqtt restart: unless-stopped depends_on: - mqtt: - condition: service_healthy + - mqtt volumes: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro