-
Notifications
You must be signed in to change notification settings - Fork 13
Docker Ossmeter
This page lists information about the Ossmeter docker image. It should be noted that the generated image uses the old Ossmeter binaries and will not be updated -- all new development will go into the Crossminer repository.
All images are stored on the Crossminer Docker-hub account.
The Docker image is composed of 4 services:
- oss-web: corresponds to the service of OSSMETER platform website.
- oss-app: service running api server and the orchestrator of OSSMETER slave instances.
- oss-slave: service corresponding to the OSSMETER slaves responsible for the analysis of software projects. There can be several slaves serving the same master for load balancing.
- oss-db: service responsible for the the storage of OSSMETER data. Uses a MongoDB image.
The database comes pre-populated with a project and a user. The loaded dump comes from md2manoppello's repo. Login information:
- user: [email protected]
- password: demo18
Custom quality is in the user object ([email protected]) stored in the users collection of users db. It resembles the demo quality model.
The easiest way to build the full stack is to run the docker-compose file:
$ docker-compose up
This command will download the images and run them. The application is then available on localhost:9000.
Two containers actually need to be built. They can be built individually.
Build the image from the oss-platform directory:
$ docker build -t bbaldassari/ossmeter-platform .
Sending build context to Docker daemon 3.072kB
Step 1/5 : FROM openjdk:8-jdk
Build the image from the oss-web directory:
$ docker build -t bbaldassari/ossmeter-web .
Sending build context to Docker daemon 3.072kB
Step 1/7 : FROM openjdk:8-jre-alpine
We use Codefresh for the CI of our docker images. The latest demo instance of generated docker images can be found in the #ci
channel in Slack.