Skip to content

andrewshawcare/docker-ecosystem-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-ecosystem-jenkins

A Jenkins deployment with docker-compose-enabled nodes and some sample projects

Deployment

Setup

Environment variables

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.

Docker

This project is deployed with Docker. The easiest way to setup a Docker environment is by installing the Docker Toolbox.

Running

export $(cat .env | xargs) && docker-compose up

Jenkins Dashboard

  1. Go to http://localhost:8080 in your browser.

About

A Jenkins deployment with docker-compose-enabled nodes and some sample projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published