Commit 64c1fea7 authored by step21's avatar step21
Browse files

added fritzsmart, outcommented traefik, fixed logging, changed prometheus...

added fritzsmart, outcommented traefik, fixed logging, changed prometheus image to official multiarch
parent 17830e93
......@@ -6,23 +6,24 @@ volumes:
networks:
default:
traefik:
external:
name: containermgmt_traefik
# traefik:
#external:
# name: containermgmt_traefik
services:
prometheus:
image: napnap75/rpi-prometheus:prometheus
image: prom/prometheus
depends_on:
- cadvisor
- node_exporter
- fritzsmart
restart: unless-stopped
ports:
- 9090:9090
networks:
- default
- traefik
# - traefik
volumes:
- ./prometheus/:/etc/prometheus/
- prometheus_data:/prometheus
......@@ -32,6 +33,11 @@ services:
- '--storage.tsdb.retention=10d'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
# deploy:
# placement:
# constraints:
......@@ -51,6 +57,11 @@ services:
- '--path.sysfs=/host/sys'
- --collector.filesystem.ignored-mount-points
- "^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)"
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
# deploy:
# mode: global
......@@ -59,12 +70,17 @@ services:
restart: unless-stopped
ports:
- 9243
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
# deploy:
# mode: global
cadvisor:
image: carlosedp/rpi-cadvisor
image: step21/armhf-cadvisor
restart: unless-stopped
ports:
- 8082:8080
......@@ -79,7 +95,29 @@ services:
- --global_housekeeping_interval=30s
- --housekeeping_interval=5s
- --storage_duration=1m0s
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
fritzsmart:
image: step21/fritzsmart
restart: unless-stopped
ports:
- 9103:9103
command:
- -cert=
- -noverify=true
- -password=Egxcuhh4#
- -url=https://fritz.box
- -username=florian
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
# alertmanager:
# image: napnap75/rpi-prometheus:alertmanager
# restart: unless-stopped
......@@ -102,18 +140,23 @@ services:
restart: unless-stopped
networks:
- default
- traefik
# - traefik
ports:
- 3000:3000
volumes:
- grafana_data:/var/lib/grafana
env_file:
- config.monitoring
labels:
- "traefik.backend=grafana"
- "traefik.frontend.rule=Host:grafana.cloud.carlosedp.com"
- "traefik.docker.network=containermgmt_traefik"
- "traefik.enable=true"
- "traefik.port=3000"
- "traefik.default.protocol=http"
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
#labels:
#- "traefik.backend=grafana"
#- "traefik.frontend.rule=Host:grafana.cloud.carlosedp.com"
#- "traefik.docker.network=containermgmt_traefik"
#- "traefik.enable=true"
#- "traefik.port=3000"
#- "traefik.default.protocol=http"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment