Interface Tm1WebSource

All Known Implementing Classes:
Tm1WebSource.Bundle, Tm1WebSource.BundleUrl, Tm1WebSource.InstallDir, Tm1WebSource.InstallVolume, Tm1WebSource.PrivateImage

Where a Tm1WebContainer gets TM1 Web from.

The tm1-web image contains no IBM software, so every container needs one of these. They mirror Tm1Source, with TM1_WEB_ settings, and the image's own sources (see the image's README).

discover() finds one from the environment. Each setting is read first as a system property and then as an environment variable, under the same name. The names match the tm1-server compose settings. The first source found wins, in this order:

  1. TM1_WEB_PRIVATE_IMAGE: an image with TM1 Web built in (Tm1WebSource.PrivateImage)
  2. TM1_WEB_HOME_DIR: an installed tm1web folder (Tm1WebSource.InstallDir)
  3. TM1_WEB_INSTALL_VOLUME: a Docker volume holding an install (Tm1WebSource.InstallVolume)
  4. TM1_WEB_BUNDLE_DIR, optionally with TM1_WEB_BUNDLE: a folder holding IBM's bundle, and the file name to use from it (Tm1WebSource.Bundle)
  5. TM1_WEB_BUNDLE_URL, optionally with TM1_WEB_BUNDLE_SHA256: a download link for the bundle (Tm1WebSource.BundleUrl)
  6. TM1_BUNDLE_DIR, if it also holds a TM1 Web bundle (or TM1_WEB_BUNDLE names one in it): the same downloads folder as TM1, as in the compose setup