Skip to content

Instantly share code, notes, and snippets.

@djbender
Created April 9, 2019 20:39
Show Gist options
  • Save djbender/da97b4546e256e5675eecfa4c018f086 to your computer and use it in GitHub Desktop.
Save djbender/da97b4546e256e5675eecfa4c018f086 to your computer and use it in GitHub Desktop.
bitnami's jenkins config ready for use with dinghy
version: '2'
services:
jenkins:
image: 'bitnami/jenkins:2'
ports:
- '8080:8080'
- '8443:8443'
- '50000:50000'
volumes:
- 'jenkins_data:/bitnami'
environment:
VIRTUAL_HOST: jenkins.docker
VIRTUAL_PORT: 8080
JENKINS_USERNAME: user # default username
JENKINS_PASSWORD: bitnami # default password
volumes:
jenkins_data:
driver: local
@djbender
Copy link
Author

djbender commented Apr 9, 2019

download with:

mkdir bitnami-docker-jenkins \
  && cd bitnami-docker-jenkins \
  && curl https://gist.githubusercontent.com/djbender/da97b4546e256e5675eecfa4c018f086/raw/e9b363ae7db83a4deabd2abe2f730206bde1203a/docker-compose.yml > docker-compose.yml

and then configure docker-compose.yml to have a custom username/password and you're off to the races:

docker-compose up

website is hosted at http://jenkins.docker/

watch the logs to verify it's finished initialization, it's not instant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment