To deploy the Test Run Engine (TRE) locally for testing your product, you can follow these steps. This is particularly useful if you want to bring your application stack to a local environment or test against public APIs. However, it's important to note that any resources deployed within a private subnet of a public cloud will not be accessible from the locally deployed TRE.
Pull the latest version of the TRE image:
docker pull ghcr.io/tesmon-io/tesmon-test-run-engine:latest
Run the docker container with the required environment variables:
To pass additional environment variables, you can use the
docker run -d --name "tesmon-test-run-engine" -p 8888:8888 -e TESMON_TRE_PORT=8888 -e TESMON_ENVIRONMENT_ID=************** -e TESMON_API_TOKEN=************** ghcr.io/tesmon-io/tesmon-test-run-engine:latest
|Environment ID from Environments page||true|
|Token from Tokens page||true|
|The port number for the Tesmon Test Run Engine. Defaults to |
Repeat Step 1 and Step 2 as shown above.