README.md 1.82 KB
Newer Older
Didier DONSEZ's avatar
Didier DONSEZ committed
1
# CampusIoT :: Chirpstack :: Monitoring :: Dashboard
Didier DONSEZ's avatar
Didier DONSEZ committed
2

Didier DONSEZ's avatar
Didier DONSEZ committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
## Web site
* https://admin.iot.imag.fr for Grafana
* https://admin-n.iot.imag.fr for NodeRED

## Layout
* configuration: contains containers' configurations
* data: contains containers' data (rw)
* backups: contains backups of the databases and messages log
* docker: contains the build of the containers
* screenshots: contains screenshots of the dashboards

## Ports
* nodered : TBD
* grafana : TBD
* influxdb : TBD

## Configuration

### Servers address
TODO


### Credentials
TODO
#### Grafana

#### NodeRED
in settings.js
```
    // Securing Node-RED
    // -----------------
    // To password protect the Node-RED editor and admin API, the following
    // property can be used. See http://nodered.org/docs/security.html for details.
    adminAuth: {
        type: "credentials",
        users: [{
            username: "admin",
            password: "$2a$08$ff.hh",
            permissions: "*"
        }]
    },

    // To password protect the node-defined HTTP endpoints (httpNodeRoot), or
    // the static content (httpStatic), the following properties can be used.
    // The pass field is a bcrypt hash of the password.
    // See http://nodered.org/docs/security.html#generating-the-password-hash
    httpNodeAuth: {user:"user",pass:"$2a$08$ff/hh"},
    httpStaticAuth: {user:"user",pass:"$2a$08$ff/hh"},
```


#### InfluxDB


## Database
The name is `lorawan`

## Operations

```
# launch the composition
docker-compose up -d

# list the containers of the composition
docker-compose ps

# follow the logs of the containers
docker-compose logs -f

# stop the composition
docker-compose stop

# start the composition
docker-compose start

# destroy all the containers of the composition
docker-compose down
Lambpaul's avatar
Lambpaul committed
80
81
82

# access CLI of InfluxDB container
docker-compose exec influxdb influx
Didier DONSEZ's avatar
Didier DONSEZ committed
83
84
85
```

## TODO