Skip to content

Instantly share code, notes, and snippets.

@keroloswilliam
Last active February 26, 2019 08:57
Show Gist options
  • Save keroloswilliam/2252beaea517de3ad2179c4b1817e7df to your computer and use it in GitHub Desktop.
Save keroloswilliam/2252beaea517de3ad2179c4b1817e7df to your computer and use it in GitHub Desktop.
bitnami jenkins with nginx-letsencrypt-companion docker-compose file
version: '2'
services:
jenkins:
image: 'bitnami/jenkins:latest'
labels:
kompose.service.type: nodeport
ports:
- '8080'
- '8443'
- '50000'
volumes:
- './jenkins_data:/bitnami/jenkins'
environment:
- VIRTUAL_HOST=<yourdomain>
- LETSENCRYPT_HOST=<yourdomain>
- VIRTUAL_PORT=8080
- JENKINS_USERNAME=<your username>
- JENKINS_PASSWORD='<your strong password>'
networks:
- webproxy
networks:
webproxy:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment