Created
April 22, 2019 00:18
-
-
Save webfacer/36718bfd933fa13efc334a64863cda77 to your computer and use it in GitHub Desktop.
remove prefix "jenkins-" that docker-compose recognize the yml file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
jenkins: | |
image: 'jenkins/jenkins:lts' | |
labels: | |
kompose.service.type: nodeport | |
ports: | |
- '80:8080' | |
- '443:8443' | |
- '50000:50000' | |
volumes: | |
- 'jenkins_data:/jenkins_config' | |
volumes: | |
jenkins_data: | |
driver: local | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment