1
- # {json:scada} Demo - (c) 2020-2024 - Ricardo L. Olsen
1
+ # {json:scada} Demo - (c) 2020-2025 - Ricardo L. Olsen
2
2
3
3
# ACCESS VIA WEB BROWSER AT http://127.0.0.1/
4
- # Server must have tcp port 80 free!
4
+ # Server must have tcp ports 80, 8080, 3000, 20000, 27017, 5432, 2404, 4840, 10001 free!
5
5
# Must be online to connect to IEC60870-5-104 live demo server at 207.180.242.96:2404.
6
6
7
7
services :
@@ -329,32 +329,59 @@ services:
329
329
networks :
330
330
- jsdemo_net
331
331
332
- # Dnp3 client: requires wine as it is currently Windows-only
333
- dnp3_client_wine :
334
- image : scottyhardy/docker-wine:latest
335
- container_name : jsdemo_dnp3_client_wine
336
- # dpkg --add-architecture i386 && apt update && apt install -y xvfb wget libfreetype6 wine wine32:i386 && cd /root &&
337
- # apt update && apt install -y xvfb wget libfreetype6 wine && cd /root &&
338
- command : sh -c "export DISPLAY=:0.0 &&
339
- export WINEDEBUG=-all &&
340
- rm -rf /tmp/.X0-lock && (Xvfb :0 -screen 0 1024x768x16 &) &&
341
- cd /tmp &&
342
- wget -nc https://download.visualstudio.microsoft.com/download/pr/3c01bbe6-a49d-468f-8335-f195588f582f/b935469e8480e611eae4d79b2e51965e/dotnet-runtime-6.0.33-win-x64.exe ;
343
- wget -nc https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks ;
344
- sh ./winetricks win10 &&
345
- wine dotnet-runtime-6.0.33-win-x64.exe /q &&
346
- cd /jsonscada_bin &&
347
- sleep 40 &&
348
- wine Dnp3Client.exe "
349
- restart : unless-stopped
350
- volumes :
351
- - ./conf:/conf
352
- - ./bin_win:/jsonscada_bin
353
- - ./log:/log
354
- links :
355
- - jsdemo_mongorsn1
356
- networks :
357
- - jsdemo_net
332
+ # # Dnp3 client: requires wine as it is currently Windows-only
333
+ # dnp3_client_wine:
334
+ # image: scottyhardy/docker-wine:latest
335
+ # container_name: jsdemo_dnp3_client_wine
336
+ # #dpkg --add-architecture i386 && apt update && apt install -y xvfb wget libfreetype6 wine wine32:i386 && cd /root &&
337
+ # #apt update && apt install -y xvfb wget libfreetype6 wine && cd /root &&
338
+ # command: sh -c "export DISPLAY=:0.0 &&
339
+ # export WINEDEBUG=-all &&
340
+ # rm -rf /tmp/.X0-lock && (Xvfb :0 -screen 0 1024x768x16 &) &&
341
+ # cd /tmp &&
342
+ # wget -nc https://download.visualstudio.microsoft.com/download/pr/3c01bbe6-a49d-468f-8335-f195588f582f/b935469e8480e611eae4d79b2e51965e/dotnet-runtime-6.0.33-win-x64.exe ;
343
+ # wget -nc https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks ;
344
+ # sh ./winetricks win10 &&
345
+ # wine dotnet-runtime-6.0.33-win-x64.exe /q &&
346
+ # cd /jsonscada_bin &&
347
+ # sleep 40 &&
348
+ # wine Dnp3Client.exe "
349
+ # restart: unless-stopped
350
+ # volumes:
351
+ # - ./conf:/conf
352
+ # - ./bin_win:/jsonscada_bin
353
+ # - ./log:/log
354
+ # links:
355
+ # - jsdemo_mongorsn1
356
+ # networks:
357
+ # - jsdemo_net
358
+ #
359
+ # # OPC-DA client: requires wine as it is currently Windows-only
360
+ # opcda_client_wine:
361
+ # image: scottyhardy/docker-wine:latest
362
+ # container_name: jsdemo_opcda_client_wine
363
+ # #dpkg --add-architecture i386 && apt update && apt install -y xvfb wget libfreetype6 wine wine32:i386 && cd /root &&
364
+ # #apt update && apt install -y xvfb wget libfreetype6 wine && cd /root &&
365
+ # command: sh -c "export DISPLAY=:0.0 &&
366
+ # export WINEDEBUG=-all &&
367
+ # rm -rf /tmp/.X0-lock && (Xvfb :0 -screen 0 1024x768x16 &) &&
368
+ # cd /tmp &&
369
+ # wget -nc https://download.visualstudio.microsoft.com/download/pr/3c01bbe6-a49d-468f-8335-f195588f582f/b935469e8480e611eae4d79b2e51965e/dotnet-runtime-6.0.33-win-x64.exe ;
370
+ # wget -nc https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks ;
371
+ # sh ./winetricks win10 &&
372
+ # wine dotnet-runtime-6.0.33-win-x64.exe /q &&
373
+ # cd /jsonscada_bin &&
374
+ # sleep 40 &&
375
+ # wine OPC-DA-Client.exe "
376
+ # restart: unless-stopped
377
+ # volumes:
378
+ # - ./conf:/conf
379
+ # - ./bin_win:/jsonscada_bin
380
+ # - ./log:/log
381
+ # links:
382
+ # - jsdemo_mongorsn1
383
+ # networks:
384
+ # - jsdemo_net
358
385
359
386
# DNP3 SERVER, demo config accepts connection on 127.0.0.1:20000 (local address 2, remote address 1)
360
387
dnp3server :
@@ -378,33 +405,6 @@ services:
378
405
networks :
379
406
- jsdemo_net
380
407
381
- # OPC-DA client: requires wine as it is currently Windows-only
382
- opcda_client_wine :
383
- image : scottyhardy/docker-wine:latest
384
- container_name : jsdemo_opcda_client_wine
385
- # dpkg --add-architecture i386 && apt update && apt install -y xvfb wget libfreetype6 wine wine32:i386 && cd /root &&
386
- # apt update && apt install -y xvfb wget libfreetype6 wine && cd /root &&
387
- command : sh -c "export DISPLAY=:0.0 &&
388
- export WINEDEBUG=-all &&
389
- rm -rf /tmp/.X0-lock && (Xvfb :0 -screen 0 1024x768x16 &) &&
390
- cd /tmp &&
391
- wget -nc https://download.visualstudio.microsoft.com/download/pr/3c01bbe6-a49d-468f-8335-f195588f582f/b935469e8480e611eae4d79b2e51965e/dotnet-runtime-6.0.33-win-x64.exe ;
392
- wget -nc https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks ;
393
- sh ./winetricks win10 &&
394
- wine dotnet-runtime-6.0.33-win-x64.exe /q &&
395
- cd /jsonscada_bin &&
396
- sleep 40 &&
397
- wine OPC-DA-Client.exe "
398
- restart : unless-stopped
399
- volumes :
400
- - ./conf:/conf
401
- - ./bin_win:/jsonscada_bin
402
- - ./log:/log
403
- links :
404
- - jsdemo_mongorsn1
405
- networks :
406
- - jsdemo_net
407
-
408
408
telegraf_listener :
409
409
image : node:20-alpine
410
410
container_name : jsdemo_telegraf_listener
0 commit comments