use jenkins via docker-compose

.env initial commit 7 years ago
.gitignore rename home to data 7 years ago
LICENSE.md initial commit 7 years ago
README.md add help 7 years ago
docker-compose.yml do not use deprecated container 7 years ago
install.sh add install script 7 years ago
jenkins.conf use supported jenkins version 7 years ago
README.md

jenkins via docker-compose

Configuration

Please see jenkins.conf

Usage

Get files:

git clone https://gitbucket.pgollor.de/git/docker/jenkins.git
cd jenkins

Install:

./install.sh

Start container:

docker-compose up -d

Get secret for installaton:

docker-compose exec master-jenkins cat /var/jenkins_home/secrets/initialAdminPassword

or from your repository dir:

cat data/secrets/initialAdminPassword

Goto http://localhost:8080

register host key

docker-compose exec master-jenkins ssh [SSH_HOST] -p [SSH_PORT]

If this does not work. Please look for a ssh-rsa or ssh-dsa key with:

ssh-keyscan -p [SSH_PORT] [SSH_HOST]

Information

ssh docker slave

License

cc-bc-sa: Please see license