Dockerize GRFICSv3
docker-compose build
docker-compose up
to run in the foreground.
or docker-compose up -d
to run in the backgroud.
Comparing to GRFICSv3, this project uses OpenPLC_v3 instead of OpenPLC_v2.
- Go to
http://192.168.95.2:8080/login
with usernameopenplc
and passwordopenplc
. Program
>Upload program
, select fileworkstation_docker/attack.st
orworkstation_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
.
There are figures explaining how to config.
- Go to
http://192.168.95.5:9090/ScadaBR
with usernameadmin
and passwordadmin
. Import/Export
>Import Project (Upload)
. select filehmi_docker/ChemicalPlantScadaBR.zip
and upload it.Data sources
, editTenEast
with IP192.168.95.2
and save. (Save button is in the upper right corner).
workstation's vnc port is 192.168.95.6:5900
.
http://192.168.95.10
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).