Skip to content

Commit

Permalink
adding jenkins and tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed May 19, 2019
1 parent be42737 commit e106e3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ services:
container_name : jenkins
volumes:
- ./jenkins:/var/jenkins_home:rw

tomcat:
image: tomcat
ports:
- 9000:8080
container_name: tomcat
depends_on:
- jenkins
volumes:
- ./jenkins/workspace/java-test-app-job/target/:/usr/local/tomcat/webapps:rw

0 comments on commit e106e3b

Please sign in to comment.