author: Tobias Schoch
A docker stack containing a ready to go configuration for a jenkins build server master/slaves for a running docker swarm.
- initial version
clone the repo:
git clone https://github.com/toschoch/docker-jenkins.git
create the docker secrets
echo "my-jenkins-user" | docker secret create jenkins-user --
echo "my-jenkins-pw" | docker secret create jenkins-pass --
deploy the stack
docker stack deploy -c docker-compose.yml jenkins