diff options
author | mbeierl <mark.beierl@dell.com> | 2017-07-12 21:41:01 -0400 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-07-12 21:50:39 -0400 |
commit | 9efa75fa08dad32b95ada37bb8e22371c51626c3 (patch) | |
tree | f99a71595108d64aa643f5137c73842a8f362be1 /docker/local-docker-compose.yaml | |
parent | 7602a54309adbe5c5346ee6befecc2e596976504 (diff) |
Creation of Local Docker for Daily Job
Moves the dockerfiles for the different submodules/containers into
their respective directories.
Adds a docker compose file that can build the containers from the
local filesystem, and mounts the local filesystem as a volume,
making it easier for developer testing as local changes are
automatically reflected in the final container.
Change-Id: I2376034258cab2a3dc3a0d1ac3f01bbf5d1f59e7
JIRA: STORPERF-189
Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'docker/local-docker-compose.yaml')
-rw-r--r-- | docker/local-docker-compose.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docker/local-docker-compose.yaml b/docker/local-docker-compose.yaml new file mode 100644 index 0000000..75cf429 --- /dev/null +++ b/docker/local-docker-compose.yaml @@ -0,0 +1,43 @@ +############################################################################## +# Copyright (c) 2017 Dell EMC and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +version: '2' +services: + + storperf-master: + container_name: "storperf-master" + build: storperf-master + ports: + - "8000:8000" + env_file: ${ENV_FILE} + volumes: + - ${CARBON_DIR}:/opt/graphite/storage/whisper + - ./storperf-master/:/home/opnfv/repos/storperf + + storperf-reporting: + container_name: "storperf-reporting" + build: storperf-reporting + ports: + - "5080:5000" + volumes: + - ./storperf-reporting/:/home/opnfv/storperf-reporting + + storperf-swaggerui: + container_name: "storperf-swaggerui" + image: "schickling/swagger-ui" + + storperf-httpfrontend: + container_name: "storperf-httpfrontend" + build: storperf-httpfrontend + ports: + - "5000:5000" + links: + - storperf-master + - storperf-reporting + - storperf-swaggerui
\ No newline at end of file |