From c991a13ce0d2fee2d864e06e761611c19aa6fd18 Mon Sep 17 00:00:00 2001 From: Daniel Pono Takamori Date: Wed, 1 May 2019 17:06:50 -0700 Subject: [PATCH] add artifactory to start testing for zowe Issue: RELENG-1938 Change-Id: If0c872e29b79d8c647da2d5c499bc148223dde18 Signed-off-by: Pono --- .env | 1 + docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.env b/.env index a469f91..57d1fac 100644 --- a/.env +++ b/.env @@ -5,3 +5,4 @@ JENKINS_CONTAINER_VERSION=lts GERRIT_CONTAINER_VERSION=latest NEXUS_CONTAINER_VERSION=oss OPENLDAP_CONTAINER_VERSION=latest +ARTIFACTORY_CONTAINER_VERSION=latest diff --git a/docker-compose.yml b/docker-compose.yml index 99f3080..135a003 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,6 +57,23 @@ services: - nginx links: - nginx + artifactory: + image: "docker.bintray.io/jfrog/artifactory-oss:$ARTIFACTORY_CONTAINER_VERSION" + container_name: releng-artifactory + env_file: config.env + environment: + - VIRTUAL_HOST=artifactory.localhost + - VIRTUAL_PORT=8081 + volumes: + - artifactory:/var/opt/jfrog/artifactory + expose: + - "80" + - "443" + - "8081" + depends_on: + - nginx + links: + - nginx postgres: image: postgres:latest container_name: releng-postgres @@ -73,4 +90,5 @@ services: volumes: gerrit: nexus: + artifactory: init: -- 2.16.6