From e106e3b6951faf20b837267cbae3f642f5c4a213 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 19 May 2019 01:53:44 +0000 Subject: [PATCH] adding jenkins and tomcat --- docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b26d621..d6e899f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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