Install with Docker Compose
This is the supported production installation.
It is a released bundle of container images: the gateway, the configuration editor, Node-RED and Redis.
A docker-compose.yml that Sterfive publishes connects the images. Nothing is built on your machine.
Before you start
- A Linux server, or Windows with WSL2.
- Docker Engine 24+ and the Docker Compose plugin.
- Node.js 20.12+ on the host, for the
npm runscripts. This is optional: each command has adocker composeequivalent. - A registry deploy token from Sterfive (support@sterfive.com).
To install Docker Engine, run:
curl -fsSL https://get.docker.com | sudo sh
sudo systemctl enable --now docker
sudo usermod -aG docker "$USER" # then log out and back in
Run docker compose version. Write a space between docker and compose.
Compose v1 (docker-compose with a hyphen) does not support this bundle.
How to install
-
Download and extract the bundle.
On Linux:
curl -fsSL https://deploy.sterfive.com/install/opcua-omni-edge.sh | bashOn Windows:
powershell -c "irm https://deploy.sterfive.com/install/opcua-omni-edge.ps1 | iex"The installer reads the release manifest, downloads the bundle, verifies its SHA-256 and extracts it. Set
INSTALL_DIRto choose the folder. SetVERSIONto choose a release. -
Go to the bundle folder:
cd opcua-omni-edge -
Start the services:
npm run upOn the first run,
npm run upcreates.envand.env.secretsfrom the templates and creates the data folders. It also logs in to the Sterfive registry. Enter your deploy token when it asks. For an unattended install, setSTERFIVE_REGISTRY_USERandSTERFIVE_REGISTRY_TOKEN. -
Look at the state of the services:
npm run psThe gateway loads every OPC UA nodeset before it opens its port. The first start takes about 1 minute.
You do not need a licence key to start.
Without a key, the gateway runs in demo mode for 2 hours, then pauses for 8 hours, then starts again.
A restart of the container does not reset the demo clock.
To remove the limit, contact sales@sterfive.com.
To find other problems, run npm run doctor.
How to check that it works
- Run
npm run ps. Wait until the gateway showshealthy. - Connect an OPC UA client to
opc.tcp://<host>:4840.
| Service | Where |
|---|---|
| OPC UA endpoints | opc.tcp://<host>:4840 to :4843 |
| Configuration editor | http://localhost:3030 |
| Node-RED | http://localhost:1880 |
If OPC UA clients use another host name or port, set OMNI_EDGE_ADVERTISED_ENDPOINTS in .env.
This applies to a remapped OMNI_EDGE_PORT_4840, to NAT and to a proxy.
If you cannot open an inbound port, set OMNI_EDGE_REVERSE_CONNECT. The gateway then connects out to the OPC UA client.
See the OPC UA server.
Security
The configuration editor can rewrite the configuration file.
The editor asks for a login. Only a user with the ConfigureAdmin role can log in.
Node-RED has no built-in authentication.
The bundle publishes the editor and Node-RED on 127.0.0.1 only.
Use an SSH tunnel to reach them, or an authenticating reverse proxy.
Do not expose them to the plant network.
The README.md of the bundle describes both methods and the creation of the first editor user.
Day-to-day commands
| Command | Effect |
|---|---|
npm run logs | Follows the logs. |
npm run ps | Shows the services and their health. |
npm run down | Stops the services and releases the licence seat. |
npm run update | Upgrades to the latest published release. |
npm run backup | Archives the configuration, the PKI, the flows and the licence state. |
npm run doctor | Diagnoses engine, configuration and registry problems. |
How to update
- Read the upgrade notes of the new version in
CHANGELOG.md. - Run
npm run update.
:::warning Upgrade past 3.8.0
Trusted X509 user certificates move from certificates/ApplicationPKI/trusted/certs to certificates/UserPKI/trusted/certs.
If users log in with certificates, copy the certificates before you restart. If you do not, the gateway rejects them.
:::
How to back up
Run npm run backup.
The README.md of the bundle has the full reference: upgrades, the content of a backup, the licence volume, the reverse proxy and the docker compose equivalent of each command.