Skip to main content
Version: 5.6

Docker Compose

Here you will find practical Docker Compose examples for operating the OPC Router in different scenarios. The variants cover typical use cases – from quick test systems to productive environments with external databases.

OPC Router Runtime as a standard installation – quick & easy

The OPC Router Runtime image includes a MongoDB.

This variant is designed for a particularly quick start. The runtime image already contains an internal MongoDB and does not require any additional services.

    runtime:
image: 'opcrouter/runtime:latest'
ports:
- '8080:8080'
container_name: opcrouter5
environment:
- OR_I_ACCEPT_EULA=true
- OR_DISABLE_AUTH=true

OPC Router Production – with optional parameters

This configuration is designed for productive environments where runtime, database, and persistence are operated in a stack.

services:
opcrouter-runtime:
image: 'inrayhub.azurecr.io/opcrouter-runtime:latest'
ports:
- '8080:8080'
container_name: opcrouter55
volumes:
- 'opc-router55-logs:/var/log/opcrouter'
- 'opc-router-db55:/data'
environment:
- OR_DISABLE_AUTH=false
- OR_I_ACCEPT_EULA=true
- <benutzername>INITIAL_USERNAME=
- <passwort>INITIAL_PASSWORD=
pull_policy: always

The information under "environment" in the Compose file can be created 1:1 from the documented environment variables, which open up further configuration options.