This repository contains everything need to create a standalone VirtualBox + vagrant VM to play with Jenkins.
Docker and Docker-Compose are required. If you do not want to (or cannot) use Docker, you can build the virtual machine and run it with Vagrant (heavier but more portable), as described in tghe next section.
With Docker and Docker-Compose installed, use the commands below to start the workshop's lab locally.
You can set the variable EXTERNAL_PORT to change the external port
to reach the services.
cd ./docker
docker-compose up -d --build --force-recreateand open the URL http://localhost:80 with your web browser
(or replace "80" by the value provided to the variable EXTERNAL_PORT
if you did so).
You might want to wait a while before having Jenkins ready.
This alternative required VirtualBox, Packer GNU Make and Vagrant to be installed.
Start by building the VM template for Vagrant (withg VirtualBox as backend):
make boxThen, start the workshop's lab with this command:
make labYou might want to use another port than the default "80":
use the EXTERNAL_PORT environment variable:
export EXTERNAL_PORT=10000
make lab