Install docker-compose and run
docker-compose upThis starts a PostgreSQL database and the TranSMART API server, which will create minimal database schemas, see transmart-schemas.
The application uses Keycloak for authentication. The following environment variables can be used to configure Keycloak:
| Variable | Default value |
|---|---|
KEYCLOAK_SERVER_URL |
https://keycloak-dwh-test.thehyve.net/auth |
KEYCLOAK_REALM |
transmart-dev |
KEYCLOAK_CLIENT_ID |
transmart-client |
The image exposes the following ports:
| Value | Type | Description |
|---|---|---|
| 9081 | tcp |
The TranSMART API Server |
| 9432 | tcp |
PostgreSQL database server |
Connect to the database using:
psql -h localhost -p 9432 -U biomart_userThe application is available at http://localhost:9081.
TRANSMART_VERSION=$(gradle properties | grep '^version: ' - | awk '{print $2}')
docker build -t transmart-api-server transmart-api-serverPublish the image to Docker Hub:
docker login
TRANSMART_VERSION="17.2.15"
docker tag transmart-api-server "thehyve/transmart-api-server:${TRANSMART_VERSION}"
docker push "thehyve/transmart-api-server:${TRANSMART_VERSION}"