make
Running the make
command will generate a Docker image for Workshop Portal.
The generated image will have the following image name and tag.
make publish
make run
make run
will build a new docker image before creating a Docker container.
make run-ssl
Similar to make run
, make run-ssl
will build a new docker image before
creating a Docker container.
In this repository, a test SSL certificate is included under test_cert
.
IMAGE
: Overrides docker image to be generated bymake build
command. Also,make push
andmake run
uses this variable to supply the Docker image parameter. The default value islocalhost/doc-hub/service-all:local
.
BASE_IMAGE
: Overrides the base Docker image. The default value isnode:10
.EXTRA_FILES
: Overrides the path where/app/files
are sourced. Configuration files and SSL certificates are typically stored in this directory. The default value isfiles
.
DEPLOYMENT_ENV
: The value in this variable will be used when loading a configuration file. The default value islocal
and the configuration file at/app/files/configs/$DEPLOYMENT_ENV.yml
will be loaded when the Workshop Portal is starting up.RESTART_DOCS
: Restarts all registered workshops when the Workshop Portal service is starting up. The default value isno
.HEC_HOST
: Sets Splunk HEC endpoint.HEC_SOURCE
: Sets Splunk event source typeHEC_INDEX
: Sets Splunk event index.HEC_TOKEN
: Sets Splunk HEC token.