docker run -d --name [service_name] -p 0.0.0.0:[service_port]:80 -e BACKEND_URL=[pronode_opcua_client_url] -e BACKEND_PORT=[pronode_opcua_client_port] [IMAGE_ID]
Create a docker-compose.yml file with this configuration.
version: '3'
services:
pronode_web:
container_name: pronode_web
image: knowai/pronode_web:1.0.2
command: ["/bin/bash", "-c", "/usr/share/nginx/html/env.sh && nginx -g \"daemon off;\""]
ports:
- 8080:80
environment:
- PRONODE_SERVICE_URL=http://{your_ip}
- PRONODE_SERVICE_PORT=8000
depends_on:
- pronode_service
pronode_service:
container_name: pronode_service
image: knowai/pronode_service:1.0.3
ports:
- 8000:8000
environment:
- PRONODE_OPCUA_CLIENT_SERVICE_HOST=http://{your_ip}
- PRONODE_OPCUA_CLIENT_SERVICE_PORT=8001
opcua_client_service:
container_name: opcua_client_service
image: knowai/pronode_opcua_client:1.0.3
ports:
- 8001:8001
opcua_server_simulator_service:
container_name: opcua_server_simulator_service
image: knowai/pronode_opcua_server_simulator:1.0.3
ports:
- 0.0.0.0:4840:4840
Save it in your device
and run the following command:
docker-compose up -d
After run this command, go to:
localhost:8080
Content type
Image
Digest
Size
31.3 MB
Last updated
over 4 years ago
docker pull knowai/pronode_web:1.0.2