Unify docker restart policy among docs and example files.

This commit is contained in:
Impact
2025-05-06 05:04:53 +00:00
parent 4066c84c8e
commit a182c691fb
4 changed files with 11 additions and 6 deletions
+3 -2
View File
@@ -59,6 +59,7 @@ networks:
services:
influxdb:
restart: unless-stopped
container_name: influxdb
image: influxdb:2.1-alpine
ports:
@@ -73,11 +74,11 @@ services:
- DOCKER_INFLUXDB_INIT_ORG=homelab
- DOCKER_INFLUXDB_INIT_BUCKET=scrutiny
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=your-very-secret-token
restart: unless-stopped
networks:
- monitoring
scrutiny:
restart: unless-stopped
container_name: scrutiny
image: ghcr.io/analogj/scrutiny:master-web
ports:
@@ -94,7 +95,6 @@ services:
- SCRUTINY_NOTIFY_URLS=["http://gotify:80/message?token=a-gotify-token"]
depends_on:
- influxdb
restart: unless-stopped
networks:
- notifications
- monitoring
@@ -168,6 +168,7 @@ version: "3.4"
services:
collector:
restart: unless-stopped
image: 'ghcr.io/analogj/scrutiny:master-collector'
cap_add:
- SYS_RAWIO