Project

General

Profile

DockerTwoContainers » History » Revision 3

Revision 2 (Michel Condemine Admin, 04/12/2023 12:06 PM) → Revision 3/4 (Michel Condemine Admin, 04/12/2023 12:44 PM)

# Overview 
 This demo use two docker images. The first one is running PostgreQL and the second one run the OOUACoreServer with its VfiPgSql. 
 ![Overview!](http://www.openopcua.org/redmine/attachments/download/4011/Configuration2Containers.png) 
 # Installation 
 ## Pull PG image  
 ``` 
 docker pull postgres:latest 
 ``` 
 ## run PG container 
 ``` 
 docker run -p 5432:5432 --name container-postgresdb -e POSTGRES_PASSWORD=admin -d postgres 
 ``` 
 password shal be admin. It's the one setup in the OOUA configuration file of the second image. 
 ## Pull OOUA image 
 ``` 
 docker pull michel4ce/oouademopg:latest 
 ``` 
 ## run OOUA container 
 ``` 
 Docker container run -d -p 1610:1610 --name ooua_pg -t michel4ce/oouademopg:latest 
 ``` 

 # Conection from OPC UA client 
 The server is listening on port 1610 
 ``` 
 opc.tcp://localhost:1610/OpenOpcUaCoreServer 
 ```