diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2024-07-01 23:49:39 +0100 | 
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2024-07-01 23:49:39 +0100 | 
| commit | f1cf15db0b167a3faab530859ea602e6ff0c2177 (patch) | |
| tree | d63a3cc4bdf3b4643f4c6da90bcb0e0577ca4791 | |
| parent | ad2db9e53d38666202c328344cb7b5b1765fa1ae (diff) | |
| download | power.eda.gay-f1cf15db0b167a3faab530859ea602e6ff0c2177.tar.gz power.eda.gay-f1cf15db0b167a3faab530859ea602e6ff0c2177.zip | |
Added grafana
| -rw-r--r-- | docker-compose.yml | 11 | ||||
| -rw-r--r-- | mqtt-client/requirements.txt | 2 | 
2 files changed, 12 insertions, 1 deletions
| diff --git a/docker-compose.yml b/docker-compose.yml index 1c4da89..4100d7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,6 +50,17 @@ services:          volumes:              - ./switch-snmp/port-names.conf:/app/port-names.conf +    grafana: +        image: grafana/grafana:8.5.27 +        ports: +            - 3000:3000 +        depends_on: +            - influxdb +        restart: unless-stopped +        volumes: +            - grafana:/var/lib/grafana +  volumes:      mosquitto-data:      mosquitto-logs: +    grafana: diff --git a/mqtt-client/requirements.txt b/mqtt-client/requirements.txt index 2532957..ac151c7 100644 --- a/mqtt-client/requirements.txt +++ b/mqtt-client/requirements.txt @@ -1,3 +1,3 @@ -paho-mqtt +paho-mqtt==1.6.1  python-dotenv  influxdb-client | 
