Public Repository

Last pushed: 2 years ago
Short Description
Age Period Cohort Tool (APC) deployment environment
Full Description

Tags

latest, centos7, c7 (applications/apc/apc.c7.dockerfile)
centos6, c6 (applications/apc/apc.c6.dockerfile)

Description

This image contains the deployment environment for the Age Period Cohort Tool. The deployment procedure may look something like this:


  • Clone the apc/common resources repositories
    git clone https://github.com/CBIIT/nci-webtools-dceg-age-period-cohort.git /tmp/age_period_cohort
    git clone https://github.com/CBIIT/nci-analysis-tools-web-presence.git /tmp/web_presence

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

  • Pull the latest APC image and start a new container
    docker pull cbiitss/apc
    docker run \
    --detach \
    --name apc \
    --publish 8000:8000 \
    --user `id -u`:`id -g` \
    --volume /etc/localtime:/etc/localtime:ro \
    --volume /local/apc/:/deploy/ \
    cbiitss/apc
    

APC is now running on localhost:8000

Docker Pull Command
Owner
cbiitss