PeterMosmans / devsecops-lab

Demo files
GNU General Public License v3.0
19 stars 42 forks source link

############# DevSecOps Lab #############

Accompanying repository for the courses on Automated Security Testing on Pluralsight. Please note that these instructions can slightly differ from the ones being shown during the courses - this repository is leading.


What is this ?


The files in this repository allow you to quickly spin up a lab, consisting of


How to start


That's it! Now you can execute docker-compose up --detach in this directory - this will spin up the servers in the background.

By default, Jenkins will listen on port 8080 (http), Gitlab on port 80 (http) and 7722 (ssh), and Sonarqube on port 8080 (http). You can override the port numbers in docker-compose.override.yml. See the docker-compose.yml file for the correct syntax.

The default Jenkins password can be read from the jenkins container:

.. code-block:: console

docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword

The default GitLab password for user root can be read from the gitlab container:

.. code-block:: console

docker exec gitlab cat /etc/gitlab/initial_root_password