You need to specify the following environment variable:
EXPOSED_PORT
: the port used to expose the Digital TwinTRAFFIC_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:
- Provide a
.env
file with all the environment variable described above - Run the container with the command:
docker run ghcr.io/webbased-wodt/usecase-intersection-dt:latest
- If you want to pass an environment file whose name is different from
.env
use the--env-file <name>
parameter.
- If you want to pass an environment file whose name is different from