Local machine
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.
Step 1
Pull the latest version of the TRE image:
docker pull ghcr.io/tesmon-io/tesmon-test-run-engine:latest
Step 2
Run the docker container with the required environment variables:
To pass additional environment variables, you can use the -e
parameter.
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
Property | Description | Required |
---|---|---|
TESMON_ENVIRONMENT_ID | Environment ID from Environments page | true |
TESMON_API_TOKEN | Token from Tokens page | true |
TESMON_TRE_PORT | The port number for the Tesmon Test Run Engine. Defaults to 80 if not specified. |
Updating
Repeat Step 1 and Step 2 as shown above.