Deploy a TRE Layer
To deploy an instance of the TRE Agent and data Egress
Go to the TRE Layer directory
Within the DARE-TREFX-Environment1 directory the TRE Layer docker-compose and configuration files are in the TRE-Keycloak
directory:
cd TRE-Keycloak
Configure the .env file
Unless you are running it locally, change localhost
to the machine’s host.
# Set the following env vars to point to your machine's host:
KeycloakHostName=http://localhost:8085
MinioBrowser=http://localhost:9003
EgressKeyCloakClientUIRedirectURL=https//localhost:8100/
EgressKeyCloakTokenExpiredAddressUI=http://localhost:8100/Account/LoginAfterTokenExpired
# For example if running on a VM then change the hostname:
KeycloakHostName=http://<VMHost>:8085
MinioBrowser=http://<VMHost>:9003
EgressKeyCloakClientUIRedirectURL=https//<VMHost>:8100/
EgressKeyCloakTokenExpiredAddressUI=http://<VMHost>:8100/Account/LoginAfterTokenExpired
# Set SubmissionAPIAddressURL to the URL where the Submission API is hosted
# This is assuming you have deployed an instance of the Submission Layer, or that there is an existing Submission Layer you can connect the TRE Agent to.
# If you are using the default docker compose then the port is 5034
# So only the hostname needs to change
SubmissionAPIAddressURL=http://localhost:5034
# Set TesAPIUrl to the URL where the TES API executing agent is hosted. e.g Funnel or TES-K
TesAPIUrl=http://localhost:8000/v1/tasks
# Set output bucket prefix for the TES executing agent to write results to default is:
TesOutputBucketPrefix=s3://
# Optional: The TRE Agent syncs with the Submission Layer Projects every 10 minutes by default, adjust if needed:
syncSchedule=10
Instructions on how to set up a Funnel TES API executing agent can be found here
Run docker-compose
docker-compose up -d
TRE Agent
The TRE Agent UI is hosted on port 8989
Enter Submission Credentials
The TRE Agent UI will prompt you to provide the submission credentials in order to authenticate against the Submission Layer API
.
By default these are:
Username: accessfromtretosubmission
Password: password123
These are the TRE Agent user credentials, created in the Submission Layer Keycloak realm.
Enter Egress Credentials
Next, the TRE Agent UI will prompt you to provide the egress credentials in order to authenticate against the Egress API
.
By default these are:
Username: accessfromtretoegress
Password: password123
These are the TRE Agent user credentials, created in the Egress Layer Keycloak realm.
Egress
The Egress UI is hosted on port 8100