Skip to main content

Docker

Supply your license to run all TimeBase versions up to version 6.0. License can be added as an environment variable TIMEBASE_SERIAL=${SERIAL_NUMBER}.

# Example of running TimeBase Docker container with license
docker run --rm --detach\
--name docker-image-test-tb \
-p 8011:8011 \
--mount type=volume,src=my-qshome-vol,dst=/timebase-home \
registry.deltixhub.com/quantserver.docker/timebase/server:5.4.74
  • DELTIX_HOME is set to timebase-server
  • QSHome is set to timebase-home
  • Default service port is 8011
  • Volume docker-image-test-qshome-vol here contains usual QSHome structure
  • Java system properties could be customized by setting JAVA_OPTS environment variable.
  • Add your TimeBase Enterprise Edition license as environment variable TIMEBASE_SERIAL=${SERIAL_NUMBER}.

TimeBase Web Admin

In TimeBase Web Admin you can manage and monitor all data stored in TimeBase.

  1. Launch TimeBase Admin in a Docker container.
  2. Login to registry.deltixhub.com.
  3. Open TimeBase Admin to view sample streams.
docker run --rm --detach \
--name timebase-admin \
-p 8099:8099 \
registry.deltixhub.com/quantserver.docker/timebase/ws-server:0.4.23
info

Refer to TimeBase Web Admin to learn how to run and use this application.

Advanced Options

Attache Volume with Streams or a Custom Config

docker run --rm -d \ 
-p MACHINE_PORT:8011 \
--name=CONTAINER_NAME \
--ulimit nofile=65536:65536 \
-v VOLUME:/timebase-home \
registry.deltixhub.com/quantserver.docker/timebase/server:5.4.74
  • VOLUME - PATH to local TimeBase home volume with populated files such as Streams, Configs, etc.
  • MACHINE_PORT - port on your machine that will be used for TimeBase.
  • CONTAINER_NAME - the name of TimeBase container that will be shown in containers list docker ps.
Example
docker run --rm -d \ 
-p 80:8011 \
--name=timebase-prod \
-ulimit nofile=65536:65536 \
-v /home/master/timebase:/timebase-home \
registry.deltixhub.com/quantserver.docker/timebase/server:5.4.74

Useful Scripts and Commands

Deployment with SSL

info

Refer to Deployment with SSL for more information.