working vs with speedtest, will remove ports next

This commit is contained in:
2020-09-17 20:10:22 +10:00
parent bc73810700
commit ab11eb1497

View File

@@ -118,7 +118,7 @@ services:
environment: environment:
- ENABLE_SPAMASSASSIN=1 - ENABLE_SPAMASSASSIN=1
- ENABLE_CLAMAV=1 - ENABLE_CLAMAV=1
- ENABLE_FAIL2BAN=1 - ENABLE_FAIL2BAN=0
- ENABLE_POSTGREY=0 - ENABLE_POSTGREY=0
- SPOOF_PROTECTION=1 - SPOOF_PROTECTION=1
- ONE_DIR=1 - ONE_DIR=1
@@ -288,6 +288,13 @@ services:
- /srv/docker/container/hassio/scripts:/scripts - /srv/docker/container/hassio/scripts:/scripts
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.hass.rule=PathPrefix(`/hass/`)"
# - "traefik.http.middlewares.stripprefix-hass.stripprefix.prefixes=/hass"
# - "traefik.http.routers.hass.middlewares=stripprefix-hass@docker"
# - "traefik.http.services.hass.loadbalancer.server.port=8123"
# - "traefik.http.routers.hass.entrypoints=web"
sabnzbd: sabnzbd:
image: linuxserver/sabnzbd image: linuxserver/sabnzbd
@@ -307,6 +314,13 @@ services:
- "traefik.http.routers.sabnzbd.entrypoints=web" - "traefik.http.routers.sabnzbd.entrypoints=web"
# Monitoring # Monitoring
speedtest-exporter:
image: jraviles/prometheus_speedtest:latest
container_name: speedtest-exporter
ports:
- 9516:9516
restart: unless-stopped
prometheus: prometheus:
image: prom/prometheus:latest image: prom/prometheus:latest
container_name: prometheus container_name: prometheus
@@ -326,6 +340,8 @@ services:
depends_on: depends_on:
- cadvisor - cadvisor
restart: always restart: always
ports:
- 9090:9090
node-exporter: node-exporter:
image: prom/node-exporter:latest image: prom/node-exporter:latest
@@ -359,6 +375,9 @@ services:
cadvisor: cadvisor:
image: google/cadvisor:latest image: google/cadvisor:latest
container_name: cadvisor container_name: cadvisor
privileged: true
command:
- '--disable_metrics=udp'
volumes: volumes:
- /:/rootfs:ro - /:/rootfs:ro
- /var/run:/var/run:rw - /var/run:/var/run:rw