This project aims at preparing viztools to send to an IKATS instance.
This operation consists in several parts :
To build the image
docker build . -t gui-builder
To run the container
docker run -it \
-e TOMCAT_ADDR="tomcat_addr:port"
-e GUNICORN_ADDR="gunicorn_addr:port"
-e TOMEE_ADDR="tomee_addr:port"
-e OPENTSDB_ADDR="opentsdb_addr:port"
-v /path/to/cached/viztools:/app/fetch-vt \
-v /path/to/shared/gui:/app/build \
-v /path/to/local/viztools:/app/local \
-v /path/to/custom/repo-list.yml:/app/repo-list.yml \
gui-builder
repo-list.yml is the file that indicates where to fetch the viztools.
It is a YAML file describing a list of the following information:
url: the complete URL to the git repository.
This may be a:
https://github.com/IKATS/vt-metadata.git)If credentials must be provided, use the following format: https://login:[email protected]/git_repo
ref: a gitreference to the commit to use
This may be a:
04c113bc093dc748583690474d81470b39e05cc8)master)1.8.2)master^)4 volumes are used :
/app/fetch-vt: (optional) the path to the fetched viztools to be prepared. Mounting it allows faster startup (act as a cache)/app/build: (mandatory) the path to the prepared GUI to be provided to web server/app/repo-list.yml : (optional) to set an external repository list different from the official IKATS viztools/app/local: (optional) if you plan to use local viztool, mount your git workspace here.Assumption:
The repository is located on host machine at /home/developer/vt-mysterious-viztool
/home/developer/vt-mysterious-viztool to /app/local/vt-mysterious-viztoolrepo-list.yml file, set the url field of the to /app/local/vt-mysterious-viztoolTODO
Content type
Image
Digest
Size
289.1 MB
Last updated
over 7 years ago
docker pull ikats/gui-builder