Cyb3rChi3f / docker-GRFICSv3

Repository from Github https://github.comCyb3rChi3f/docker-GRFICSv3Repository from Github https://github.comCyb3rChi3f/docker-GRFICSv3

Dockerize GRFICSv3

Build images

docker-compose build

Run

docker-compose up to run in the foreground.
or docker-compose up -d to run in the backgroud.

PLC config

Comparing to GRFICSv3, this project uses OpenPLC_v3 instead of OpenPLC_v2.

  • Go to http://192.168.95.2:8080/login with username openplc and password openplc.
  • Program > Upload program, select file workstation_docker/attack.st or workstation_docker/simplified_te.st and upload it. Also you can compose your own PLC program in the workstation.
  • After the program been compiled, click Start PLC.

SCADA config

There are figures explaining how to config.

  • Go to http://192.168.95.5:9090/ScadaBR with username admin and password admin.
  • Import/Export > Import Project (Upload). select file hmi_docker/ChemicalPlantScadaBR.zip and upload it.
  • Data sources, edit TenEast with IP 192.168.95.2 and save. (Save button is in the upper right corner).

VNC to workstation

workstation's vnc port is 192.168.95.6:5900.

View the simulation

http://192.168.95.10

Not working on Docker Desktop?

Docker Desktop (Windows/Mac) uses a VM to host docker containers, and Docker team didn't implement a virtual interface for that, so it's quite hard to implement direct IP access. Indeed, there are workarounds like this, and this subject is discussed at here and there, but port mapping may save you some frustration.
Uncommenting the ports directives in docker-compose.yml should do the trick (untested).

About

License:GNU General Public License v3.0


Languages

Language:Python 35.1%Language:Smalltalk 33.5%Language:C++ 23.9%Language:CSS 2.1%Language:Dockerfile 1.7%Language:JavaScript 1.5%Language:HTML 1.5%Language:Shell 0.5%Language:PHP 0.2%Language:Makefile 0.1%