Sign inSign up

thehyve/glowing-bear-backend

By thehyve

•Updated about 4 years ago

Backend API for the Glowing Bear cohort selection user interface

Image
1

1.4K

thehyve/glowing-bear-backend repository overview

Docker Build Status

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.

⁠Usage

Run the full stack with:

export TRANSMART_API_SERVER_URL=https://transmart.example.com
export KEYCLOAK_SERVER_URL=https://keycloak.example.com
export KEYCLOAK_REALM=transmart-dev
export KEYCLOAK_CLIENT_ID=transmart-client
docker-compose -f docker-compose.yml up

Those commands will download the images and start the containers.

⁠Configuration
NameDescription
TRANSMART_API_SERVER_URLURL of the TranSMART API server, used to receive data for notifications.
KEYCLOAK_SERVER_URLURL of the Keycloak server, used to verify user tokens.
KEYCLOAK_REALMThe Keycloak realm to use.
KEYCLOAK_CLIENT_IDThe 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.

⁠Development

⁠Build
docker build -t glowing-bear-backend . --no-cache
⁠Publish

Publish the image to Docker Hub⁠:

docker login
GB_BACKEND_VERSION="1.0.3"
docker tag glowing-bear-backend "thehyve/glowing-bear-backend:${GB_BACKEND_VERSION}"
docker push "thehyve/glowing-bear-backend:${GB_BACKEND_VERSION}"

Tag summary

Content type

Image

Digest

Size

107.4 MB

Last updated

about 6 years ago

docker pull thehyve/glowing-bear-backend