Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Glowing Bear docker image definition

Docker Build Status

Nginx-based Docker image for Glowing Bear with proxy for backend services.

The hostname and port in the Nginx configuration can be changed via environment variables NGINX_HOSTNAME (default: localhost) and NGINX_PORT (default 80).

The container serves the Glowing Bear application at the specified port and provides a proxy for the backend services at the following locations:

Location Target
/api/transmart-api-server http://transmart-api-server:8081
/api/gb-backend http://gb-backend:8083
/api/transmart-packer http://transmart-packer:8999

This assumes that these services are reachable by the container at these addresses. See glowing-bear-docker for an example.

The AUTOSAVE_SUBJECT_SETS, CHECK_SERVER_STATUS and DENY_ACCESS_WITHOUT_ROLE variables can be set to override the default value (false) for these properties, see the list of supported properties.

Run

Follow the instructions in glowing-bear-docker repository to run the full stack, including:

Development

Build and publish

Build the images and publish it to Docker Hub.

# Build image
GB_VERSION=$(node -pe "require('../package.json').version")
docker build --build-arg "GB_VERSION=${GB_VERSION}" -t "thehyve/glowing-bear:${GB_VERSION}" . --no-cache
# Publish images to Docker Hub
docker login
docker push "thehyve/glowing-bear:${GB_VERSION}"