update network

This commit is contained in:
feldjaeger 2026-03-28 23:33:21 +01:00
parent 3cc3a09e08
commit 718260c3ba
2 changed files with 19 additions and 9 deletions

10
.env Normal file
View file

@ -0,0 +1,10 @@
TM_DB_USER=teslamate
TM_DB_PASS=GT500r8
TM_DB_NAME=teslamate
GRAFANA_USER=tesla
GRAFANA_PW=model3
FQDN_TM=tesla.sascha-lutz.de
TM_TZ=Europe/Berlin
LETSENCRYPT_EMAIL=sascha@sascha-lutz.de
ENCRYPTION_KEY=xYVaTbVpUH3Lwv5RXVPhQsMZ08KW7nUYUftRtif!mx8@Gns6f

View file

@ -1,5 +1,5 @@
networks: networks:
proxy_network: monitoring_network:
external: true external: true
services: services:
@ -26,7 +26,7 @@ services:
expose: expose:
- "4000" - "4000"
networks: networks:
- proxy_network - monitoring_network
teslamate_database: teslamate_database:
image: postgres:17 image: postgres:17
@ -39,7 +39,7 @@ services:
volumes: volumes:
- /app-config/teslamate_database:/var/lib/postgresql/data - /app-config/teslamate_database:/var/lib/postgresql/data
networks: networks:
- proxy_network - monitoring_network
grafana: grafana:
image: teslamate/grafana:latest image: teslamate/grafana:latest
@ -62,7 +62,7 @@ services:
expose: expose:
- "3000" - "3000"
networks: networks:
- proxy_network - monitoring_network
mosquitto: mosquitto:
image: eclipse-mosquitto:2 image: eclipse-mosquitto:2
@ -73,7 +73,7 @@ services:
- /app-config/mosquitto_config:/mosquitto/config - /app-config/mosquitto_config:/mosquitto/config
- /app-config/mosquitto_data:/mosquitto/data - /app-config/mosquitto_data:/mosquitto/data
networks: networks:
- proxy_network - monitoring_network
prometheus: prometheus:
image: prom/prometheus image: prom/prometheus
@ -92,7 +92,7 @@ services:
expose: expose:
- 9090 - 9090
networks: networks:
- proxy_network - monitoring_network
snmp-exporter: snmp-exporter:
image: quay.io/prometheus/snmp-exporter image: quay.io/prometheus/snmp-exporter
@ -105,7 +105,7 @@ services:
restart: always restart: always
command: --config.file=/etc/snmp-exporter/snmp.yml command: --config.file=/etc/snmp-exporter/snmp.yml
networks: networks:
- proxy_network - monitoring_network
influxdb: influxdb:
image: influxdb:latest image: influxdb:latest
@ -121,7 +121,7 @@ services:
- "8086" - "8086"
- "8086/udp" - "8086/udp"
networks: networks:
- proxy_network - monitoring_network
embyexporter: embyexporter:
image: bagul/goemby_exporter:latest image: bagul/goemby_exporter:latest
@ -135,7 +135,7 @@ services:
- 9210 - 9210
restart: unless-stopped restart: unless-stopped
networks: networks:
- proxy_network - monitoring_network
node_exporter: node_exporter:
image: quay.io/prometheus/node-exporter:latest image: quay.io/prometheus/node-exporter:latest