File tree 4 files changed +0
-44
lines changed
4 files changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,6 @@ services:
61
61
- ' node-red-test-data:/data'
62
62
ports :
63
63
- " 1882:1880"
64
- # port for appmetrics dashboard.
65
- - " 3001:3001"
66
64
depends_on :
67
65
- mqtt-test
68
66
restart : always
Original file line number Diff line number Diff line change @@ -41,20 +41,6 @@ http {
41
41
proxy_set_header Connection "upgrade" ;
42
42
43
43
proxy_pass http://node-red-test:1880;
44
- }
45
-
46
- # /node-red-test will point to the appmetrics dashboard for node-red-test
47
- # see also https://github.com/RuntimeTools/appmetrics-dash
48
- location /appmetrics-dash {
49
- proxy_set_header Host $http_host ;
50
- proxy_set_header X-Real-IP $remote_addr ;
51
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
52
- proxy_set_header X-Forwarded-Proto $scheme ;
53
- proxy_http_version 1.1 ;
54
- proxy_set_header Upgrade $http_upgrade ;
55
- proxy_set_header Connection "upgrade" ;
56
-
57
- proxy_pass http://node-red-test:3001/appmetrics-dash;
58
44
}
59
45
}
60
46
}
Original file line number Diff line number Diff line change @@ -8,13 +8,5 @@ USER node-red
8
8
RUN npm install node-red-contrib-resinio
9
9
RUN npm install node-red-dashboard
10
10
RUN npm install node-red-contrib-credentials
11
- # RUN npm install appmetrics
12
- RUN npm install appmetrics-dash
13
11
14
12
COPY ./settings.js /data/settings.js
15
- # COPY ./appmetrics.properties /usr/src/node-red/node_modules/appmetrics/appmetrics.properties
16
-
17
- # following command will add instrumentation to Node.js (= node-red)
18
- # RUN sed -i 's?#!/usr/bin/env node?#!/usr/bin/env node;\n\n/* JVA: adding appmetrics instructions*/\nvar appmetrics = require("appmetrics");\nvar monitoring = appmetrics.monitor();\n?' /usr/src/node-red/node_modules/node-red/red.js
19
-
20
- # RUN sed -i 's?#!/usr/bin/env node?#!/usr/bin/env node;\n\n/* JVA: adding appmetrics instructions*/\nvar dash = require("appmetrics-dash");\ndash.attach();\n?' /usr/src/node-red/node_modules/node-red/red.js
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments