Skip to content

WebBased-WoDT/usecase-intersection-dt

Repository files navigation

Use case - Intersection Digital Twin

Release License: Apache License Version

Usage

You need to specify the following environment variable:

  • EXPOSED_PORT: the port used to expose the Digital Twin
  • TRAFFIC_LIGHT_A_URI: the uri of the Traffic Light A (from use case)
  • TRAFFIC_LIGHT_B_URI: the uri of the Traffic Light B (from use case)
  • PLATFORM_URL: the platform to which the Digital Twin should register at startup

If you want to run it via docker container:

  1. Provide a .env file with all the environment variable described above
  2. Run the container with the command:
     docker run ghcr.io/webbased-wodt/usecase-intersection-dt:latest
    1. If you want to pass an environment file whose name is different from .env use the --env-file <name> parameter.