crits-docker

A Docker image for CRITs

Stars
6
Committers
1

CRITs Docker Image

This is a docker image for CRITs, based on the REMnux image, with the following changes:

  • Uses phusion-baseimage-latest as a base image.
  • Uses TokuMX instead of vanilla MongoDB.
  • Uses a dedicated /data volume for the database.
  • Certificates are created at container creation.
  • Services are installed in /opt/crits_services.
  • Works with the latest CRITs code.

Instructions

$ docker build -t crits .

# echo never > /sys/kernel/mm/transparent_hugepage/enabled
(and make it permanent)

$ docker run --name crits -it \
  -v ~/crits-data:/data -p 8443:8443 crits

Connect to http://<external IP>:8080, create sources, add users, enable services, turn off the debug mode.

In order to start the container later:

$ docker start crits

In order to restart the service, kill the manage.py runserver process.