josefdolezal / fit-bi-sp2-docker

Dockerfiles used on software team project @FIT_CTU (BI-SP2)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BI-SP2 Dockerfiles

Dockerfiles used on software team project @FIT_CTU (BI-SP2).

This repository contains the most of Dockerfiles we have used on our semester-project @FIT_CTU.

Apigen

Used for generating PHP documentation.

Usage

$ docker run --rm -v"$PWD/app:/app/src" -v"$PWD/docs:/app/docs" josefdolezal/fit-bi-sp2-apigen

The first attached volume points to your app source code, the second one is for apigen output. By default, we use the Bootstrap theme.

PHP 7

App frontend is build on PHP Nette framework and uses Mariadb database. We use this image linked with Mariadb in separate containers.

Usage

We mainly use this container in docker-compose, see frontend for more informations.

Sonar

Guys at backend use Sonar to lint java code. Sonar also checks for code standards and quality.

Usage

Warning! Do not forget to fill in your own database credentials (both to sonar and mysql services).

$ docker-compose up -d

Following volumes will be automatically mounted:

  • /opt/docker/sonarqube/conf
  • /opt/docker/sonarqube/data
  • /opt/docker/sonarqube/extensions
  • /opt/docker/sonarqube/plugins
  • /opt/docker/sonarqube/mysql

About

Dockerfiles used on software team project @FIT_CTU (BI-SP2)

License:MIT License