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.
Used for generating PHP documentation.
$ 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.
App frontend is build on PHP Nette framework and uses Mariadb database. We use this image linked with Mariadb in separate containers.
We mainly use this container in docker-compose, see frontend for more informations.
Guys at backend use Sonar to lint java code. Sonar also checks for code standards and quality.
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