https://github.com/RENCI-NRIG/COMET-Accumulo
679
This is the docker image of COMET server.
docker pull rencinrig/comet-spring:latest
Run together with zookeeper and RENCI accumulo docker images to form the cluster
The docker-compose.yml and the site-files to start the Accumulo cluster instances are under folder docker-compose.
Start Comet after Zookeepers and Accumulo are ready:
cd docker-compose/
docker-compose run start-zoo
docker-compose run start-accumulo
docker-compose up comet
Stop and Romove the containers
docker-compose stop
codker-compose rm -f
docker run -it --rm \
--name comet \
-p 8111:8111 \
-v $(pwd)/log:/var/log \
--env-file <env file> \
rencinrig/comet-spring
or in detached mode:
docker run -it -d \
--name comet \
-p 8111:8111 \
-v $(pwd)/log:/var/log \
--env-file <env file> \
rencinrig/comet-spring
Some properties of COMET can be configured through following environment variables.
COMET_CHECK_TOKEN_STRENGTHTurn on/off token strength checking. Default is false.
COMET_CHECK_CLIENT_CERTTurn on/off client certificate checking. Default is true.
ACCUMULO_INSTANCEAccumulo Server name. Default is aws-development.
Change this to your Accumulo's instance name such as docker-developement.
ACCUMULO_ZOOSERVERSZookeeper server names. Default is zoo1,zoo2,zoo3.
ACCUMULO_USERAccumulo user name. Default is root.
ACCUMULO_PASSWORDAccumulo password. Default is secret.
ACCUMULO_TABLENAMEAccumulo table name. Default is trace.
You can use a file of environment variables:
Example of comet_example.env:
COMET_CHECK_TOKEN_STRENGTH=false
COMET_CHECK_CLIENT_CERT=false
ACCUMULO_INSTANCE=docker-development
ACCUMULO_ZOOSERVERS=zoo1,zoo2,zoo3
ACCUMULO_USER=root
ACCUMULO_PASSWORD=secret
ACCUMULO_TABLENAME=trace
Log file is stored in /var/log/comet.log on the container To see the log, mount your desired log folder to /var/log on the container.
Content type
Image
Digest
Size
124.1 MB
Last updated
almost 7 years ago
docker pull rencinrig/comet-spring