From 553527f32948d639169ea791839eef78807c84f7 Mon Sep 17 00:00:00 2001 From: Irina Radkova Date: Fri, 13 Sep 2019 13:59:54 +0400 Subject: [PATCH] add compose file --- sandbox/docker-compose.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sandbox/docker-compose.yaml diff --git a/sandbox/docker-compose.yaml b/sandbox/docker-compose.yaml new file mode 100644 index 000000000..8f0bbb831 --- /dev/null +++ b/sandbox/docker-compose.yaml @@ -0,0 +1,29 @@ +version: '3.7' +services: + jenkins: + image: jenkins/jenkins:lts + build: + context: . + ports: + - 8080:8080 + - 50000:50000 + volumes: + - ./data/jenkins:/var/jenkins_home + restart: unless-stopped + networks: + - default + + + nexus: + image: sonatype/nexus3 + build: + context: . + ports: + - 8081:8081 + volumes: + - ./nexus/data:/nexus-data + networks: + - default + +networks: + default: