Browse Source

fix smartctl (#35)

Reviewed-on: #35
Co-authored-by: fedy95 <fedy95@protonmail.com>
Co-committed-by: fedy95 <fedy95@protonmail.com>
pull/36/head
fedy95 4 years ago
parent
commit
b0e58166ef
  1. 32
      docker-compose.yml

32
docker-compose.yml

@ -205,20 +205,20 @@ services:
labels: labels:
org.label-schema.group: "monitoring" org.label-schema.group: "monitoring"
# smartctl:
# build:
# context: ./smartctl
# container_name: smartctl
# hostname: smartctl
# restart: on-failure
# privileged: true
#
# volumes:
# - ./nodeexporter/etc:/var/lib/node_exporter
# environment:
# - INTERVAL=300
# networks:
# - monitor-net
# labels:
# org.label-schema.group: "monitoring"
smartctl:
build:
context: ./smartctl
container_name: smartctl
hostname: smartctl
restart: on-failure
privileged: true
volumes:
- ./nodeexporter/etc:/var/lib/node_exporter
environment:
- INTERVAL=300
networks:
- monitor-net
labels:
org.label-schema.group: "monitoring"
... ...