Docker image definitions and docker-compose profiles to run gb-backend and its database.
gb-backend runs the application server through OpenJDK, and gb-backend-database its database through PostgreSQL.
Run the full stack with:
export TRANSMART_API_SERVER_URL=https://transmart.example.com
export KEYCLOAK_SERVER_URL=https://keycloak.example.com/auth
export KEYCLOAK_REALM=transmart-dev
export KEYCLOAK_CLIENT_ID=transmart-client
docker-compose -f docker-compose.yml upThose commands will download the images and start the containers.
| Name | Description |
|---|---|
TRANSMART_API_SERVER_URL |
URL of the TranSMART API server, used to receive data for notifications. |
KEYCLOAK_SERVER_URL |
URL of the Keycloak server, used to verify user tokens. |
KEYCLOAK_REALM |
The Keycloak realm to use. |
KEYCLOAK_CLIENT_ID |
The Keycloak client. |
If a certificate file is mounted as volume at /home/gb_backend_usr/extra_certs.pem,
the file is imported to the default certificate store of Java at startup.
docker build -t glowing-bear-backend . --no-cachePublish the image to Docker Hub:
docker login
GB_BACKEND_VERSION="1.0.7"
docker tag glowing-bear-backend "thehyve/glowing-bear-backend:${GB_BACKEND_VERSION}"
docker push "thehyve/glowing-bear-backend:${GB_BACKEND_VERSION}"