diff --git a/docs/INSTALL_HUB_SPOKE.md b/docs/INSTALL_HUB_SPOKE.md index 942916ae..5c13db1f 100644 --- a/docs/INSTALL_HUB_SPOKE.md +++ b/docs/INSTALL_HUB_SPOKE.md @@ -49,18 +49,14 @@ contains the connection and notification details but I always find it easier to docker-compose. ```yaml -version: "3.4" - networks: monitoring: # A common network for all monitoring services to communicate into - external: true notifications: # To Gotify or another Notification service - external: true services: influxdb: container_name: influxdb - image: influxdb:2.1-alpine + image: influxdb:2.7-alpine ports: - 8086:8086 volumes: @@ -72,7 +68,8 @@ services: - DOCKER_INFLUXDB_INIT_PASSWORD=${PASSWORD} - DOCKER_INFLUXDB_INIT_ORG=homelab - DOCKER_INFLUXDB_INIT_BUCKET=scrutiny - - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=your-very-secret-token + - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=SUPER-SECRET-TOKEN + - TZ=Europe/Stockholm restart: unless-stopped networks: - monitoring @@ -83,17 +80,20 @@ services: ports: - 8080:8080 volumes: - - ${DIR_CONFIG}/scrutiny/config:/opt/scrutiny/config + - ${DIR_CONFIG}/config:/opt/scrutiny/config environment: - SCRUTINY_WEB_INFLUXDB_HOST=influxdb - SCRUTINY_WEB_INFLUXDB_PORT=8086 - - SCRUTINY_WEB_INFLUXDB_TOKEN=your-very-secret-token + - SCRUTINY_WEB_INFLUXDB_TOKEN=SUPER-SECRET-TOKEN - SCRUTINY_WEB_INFLUXDB_ORG=homelab - SCRUTINY_WEB_INFLUXDB_BUCKET=scrutiny # Optional but highly recommended to notify you in case of a problem - - SCRUTINY_NOTIFY_URLS=["http://gotify:80/message?token=a-gotify-token"] + # https://github.com/AnalogJ/scrutiny/blob/master/docs/TROUBLESHOOTING_NOTIFICATIONS.md + - SCRUTINY_NOTIFY_URLS=[ smtp://myname%40example%2Ecom:124%4034%241@ms.my.domain.com:587 ] + - TZ=Europe/Stockholm depends_on: - - influxdb + influxdb: + condition: service_healthy restart: unless-stopped networks: - notifications @@ -163,8 +163,6 @@ Also all drives that you wish to monitor need to be presented to the container u The image handles the periodic scanning of the drives. ```yaml -version: "3.4" - services: collector: