Skip to content

Commit 229128f

Browse files
authored
Merge pull request riclolsen#209 from json-scada/master
Fix Go compilation of submodules on docker demo.
2 parents 053ae21 + baf6792 commit 229128f

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
149149
- [ ] Siemens S7
150150
- [ ] BACNET
151151
- [x] I104M (legacy adapter for some OSHMI drivers)
152+
- [x] ONVIF Camera control and streaming
152153

153154
## Features Roadmap
154155

compile-docker/docker-compose.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ services:
106106
image: golang:alpine
107107
container_name: js_calculations_compile
108108
command: sh -c "apk update &&
109+
apk add --no-cache libpcap-dev &&
109110
apk add --no-cache git &&
110111
go env -w GO111MODULE=auto &&
111112
cd /go/src/calculations/ &&
@@ -120,6 +121,7 @@ services:
120121
image: golang:alpine
121122
container_name: js_i104m_compile
122123
command: sh -c "apk update &&
124+
apk add --no-cache libpcap-dev &&
123125
apk add --no-cache git &&
124126
go env -w GO111MODULE=auto &&
125127
cd /go/src/i104m/ &&

demo-docker/docker-compose.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ services:
194194

195195
# process incoming data
196196
cs_data_processor:
197-
image: node:20-alpine
197+
image: node:22-alpine
198198
container_name: jsdemo_cs_data_processor
199199
command: sh -c "cd /cs_data_processor && sleep 50 && node cs_data_processor.js"
200200
restart: unless-stopped
@@ -210,7 +210,7 @@ services:
210210

211211
# custom script processor
212212
cs_custom_processor:
213-
image: node:20-alpine
213+
image: node:22-alpine
214214
container_name: jsdemo_cs_custom_processor
215215
command: sh -c "cd /cs_custom_processor && sleep 50 && node cs_custom_processor.js"
216216
restart: unless-stopped
@@ -225,7 +225,7 @@ services:
225225

226226
# config server for excel
227227
config_server_excel:
228-
image: node:20-alpine
228+
image: node:22-alpine
229229
container_name: jsdemo_config_server_excel
230230
command: sh -c "cd /config_server_for_excel && sleep 60 && node index.js"
231231
restart: unless-stopped
@@ -247,7 +247,7 @@ services:
247247

248248
# mqtt sparkplug-b driver
249249
mqtt-sparkplug:
250-
image: node:20-alpine
250+
image: node:22-alpine
251251
container_name: jsdemo_mqtt-sparkplug
252252
command: sh -c "cd /mqtt-sparkplug && sleep 60 && node index.js"
253253
restart: unless-stopped
@@ -262,7 +262,7 @@ services:
262262

263263
# OPC-UA Server
264264
opcua_server:
265-
image: node:20-alpine
265+
image: node:22-alpine
266266
container_name: jsdemo_opcua_server
267267
command: sh -c "cd /OPC-UA-Server && sleep 60 && node index.js"
268268
restart: unless-stopped
@@ -281,7 +281,7 @@ services:
281281

282282
# realtime web server, will listen on some HTTP port with auth, RBAC management UI
283283
server_realtime:
284-
image: node:20-alpine
284+
image: node:22-alpine
285285
container_name: jsdemo_server_realtime_auth
286286
command: sh -c "cd /server_realtime_auth && sleep 50 && node index.js"
287287
restart: unless-stopped
@@ -316,7 +316,7 @@ services:
316316

317317
# calculation process
318318
calculations:
319-
image: node:20-alpine
319+
image: node:22-alpine
320320
container_name: jsdemo_calculations
321321
command: sh -c "sleep 50 && cd /jsonscada_bin/ && ./calculations"
322322
restart: unless-stopped
@@ -406,7 +406,7 @@ services:
406406
- jsdemo_net
407407

408408
telegraf_listener:
409-
image: node:20-alpine
409+
image: node:22-alpine
410410
container_name: jsdemo_telegraf_listener
411411
command: sh -c "cd /telegraf-listener && sleep 50 && node index.js"
412412
restart: unless-stopped

index.md

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
150150
- [ ] Siemens S7
151151
- [ ] BACNET
152152
- [x] I104M (legacy adapter for some OSHMI drivers)
153+
- [x] ONVIF Camera control and streaming
153154

154155
## Features Roadmap
155156

platform-windows/buildupd.bat

+3
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ call %NPM% update
172172
cd %SRCPATH%\mongowr
173173
call %NPM% i --package-lock-only
174174
call %NPM% update
175+
cd %SRCPATH%\camera-onvif
176+
call %NPM% i --package-lock-only
177+
call %NPM% update
175178

176179
cd %SRCPATH%\log-io\ui
177180
call %NPM% i --package-lock-only

0 commit comments

Comments
 (0)