summaryrefslogtreecommitdiffstats
path: root/docker/local-docker-compose.yaml
blob: 75cf429667227d1db5f26cec952d473cdb84f5e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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