update network
This commit is contained in:
parent
3cc3a09e08
commit
718260c3ba
2 changed files with 19 additions and 9 deletions
18
compose.yaml
18
compose.yaml
|
|
@ -1,5 +1,5 @@
|
|||
networks:
|
||||
proxy_network:
|
||||
monitoring_network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
|
|
@ -26,7 +26,7 @@ services:
|
|||
expose:
|
||||
- "4000"
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
teslamate_database:
|
||||
image: postgres:17
|
||||
|
|
@ -39,7 +39,7 @@ services:
|
|||
volumes:
|
||||
- /app-config/teslamate_database:/var/lib/postgresql/data
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
grafana:
|
||||
image: teslamate/grafana:latest
|
||||
|
|
@ -62,7 +62,7 @@ services:
|
|||
expose:
|
||||
- "3000"
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
mosquitto:
|
||||
image: eclipse-mosquitto:2
|
||||
|
|
@ -73,7 +73,7 @@ services:
|
|||
- /app-config/mosquitto_config:/mosquitto/config
|
||||
- /app-config/mosquitto_data:/mosquitto/data
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus
|
||||
|
|
@ -92,7 +92,7 @@ services:
|
|||
expose:
|
||||
- 9090
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
snmp-exporter:
|
||||
image: quay.io/prometheus/snmp-exporter
|
||||
|
|
@ -105,7 +105,7 @@ services:
|
|||
restart: always
|
||||
command: --config.file=/etc/snmp-exporter/snmp.yml
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
influxdb:
|
||||
image: influxdb:latest
|
||||
|
|
@ -121,7 +121,7 @@ services:
|
|||
- "8086"
|
||||
- "8086/udp"
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
embyexporter:
|
||||
image: bagul/goemby_exporter:latest
|
||||
|
|
@ -135,7 +135,7 @@ services:
|
|||
- 9210
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy_network
|
||||
- monitoring_network
|
||||
|
||||
node_exporter:
|
||||
image: quay.io/prometheus/node-exporter:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue