Wrapper for running Jenkins with prebuilt docker images with JCasC
docker-compose.yml refers to images available in DockerHub, to start up your Jenkins simply pull the repository and run
./jcasc.sh up
It will use the latest version of jcasc and jcasc-agent images from DockerHub. But it is also possible, and recommended, to always specify which version of the image you want to use. You can also specify how many jcasc-agent based containers you want to use to serve as build agents, e.g.
./jcasc.sh up version=sha-8ddfdb5 scale=3
To change the configuration edit/add yaml file in casc_config folder on the machine where you run your Jenkins and reload configuration using JCasC. Details about JCasC available here
Check docker-compose.yml to learn what are the username (JENKINS_RUNNER) and password (JENKINS_PASSWORD) of the Jenkins user. That is just a basic and rather unsecure example where empty environment variables take default values. There are of course much more safe ways of doing that. More details later.
In a Praqma/jcasc-core you can find Dockerfiles for both Jenkins and build agent. Every time new commits appear on master the images are build and pushed to DockerHub - you can always check the latest released version there: