Public Repository

Last pushed: 2 months ago
Short Description
COMETS Analytics deployment environment
Full Description


base (applications/cbiitss/comets/comets-base.c7.dockerfile)


This image contains the deployment environment for COMETS. The deployment procedure may look something like this:

  • Clone the comets/common resources repositories
    git clone /tmp/comets_analytics
    git clone /tmp/comets_package
    git clone /tmp/web_presence

  • Copy the application files to a local deployment directory
    sudo mkdir -p /local/comets/app /local/comets/logs
    sudo chown -R `id -u`:`id -g` /local/comets
    cp -r /tmp/comets_analytics/comets/* /local/comets/app/
    cp -r /tmp/comets_package/* /local/comets/app/rcode/
    cp -r /tmp/web_presence/common /local/comets/app/

  • Pull the latest image and start a new container
    docker pull cbiitss/comets:base
    docker run \
    --detach \
    --name comets \
    --publish 8000:8000 \
    --user `id -u`:`id -g` \
    --volume /etc/localtime:/etc/localtime:ro \
    --volume /local/comets/:/deploy/ \
    docker exec --user root comets bash -c "R CMD INSTALL /deploy/app/rcode > /deploy/logs/InstallCometsPackage.log"
    docker restart comets

COMETS is now running on localhost:8100

Docker Pull Command

Comments (0)