Skip to main content
Version: 5.6

Docker Compose

Here you will find practical Docker Compose examples for running the OPC Router in various scenarios. The options cover typical use cases—from a quick test system to a production environment with an external database.

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 requires no 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 production environments where the runtime, database, and persistence are operated in a single stack.

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

The entries under “environment” in the Compose file can be created exactly as shown in the documented environment variables, which open up additional configuration options.