A Jenkins deployment with docker-compose-enabled nodes and some sample projects
The following environment variables are required for this project:
- GIT_CREDENTIALS_USERNAME: Your GitHub username
- GIT_CREDENTIALS_PASSWORD: Your GitHub password (or personal token)
- JENKINS_ADMINISTRATOR_USERNAME: The Jenkins administrator username
- JENKINS_ADMINISTRATOR_PASSWORD: The Jenkins administrator password
For convenience, an .env.template
file has been included in the repository with the required placeholders.
Copy the template:
cp .env.template .env
And populate the variables with appropriate values. Docker Compose will use that file to ensure the container has the required variables.
This project is deployed with Docker. The easiest way to setup a Docker environment is by installing the Docker Toolbox.
export $(cat .env | xargs) && docker-compose up
- Go to
http://localhost:8080
in your browser.