summaryrefslogtreecommitdiffstats
path: root/docker/local-docker-compose.yaml
blob: fa956ea73694dc44b662a283b6da192fdb507cfa (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
##############################################################################
# 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:
            context: storperf-master
            args:
                ARCH: ${ARCH}
        env_file: ${ENV_FILE}
        volumes:
            - ./storperf-master/:/storperf
        links:
            - storperf-graphite

    storperf-reporting:
        container_name: "storperf-reporting"
        build:
            context: storperf-reporting
            args:
                ARCH: ${ARCH}
        volumes:
            - ./storperf-reporting/:/home/opnfv/storperf-reporting

    storperf-swaggerui:
        container_name: "storperf-swaggerui"
        build:
            context: storperf-swaggerui
            args:
                ARCH: ${ARCH}

    storperf-graphite:
        container_name: "storperf-graphite"
        build:
            context: storperf-graphite
            args:
                ARCH: ${ARCH}
        volumes:
            - ${CARBON_DIR}:/opt/graphite/storage/whisper

    storperf-httpfrontend:
        container_name: "storperf-httpfrontend"
        build:
            context: storperf-httpfrontend
            args:
                ARCH: ${ARCH}
        ports:
            - "5000:5000"
        links:
            - storperf-master
            - storperf-reporting
            - storperf-swaggerui
            - storperf-graphite