summaryrefslogtreecommitdiffstats
path: root/docker/local-docker-compose.yaml
blob: a4b69b488b8e12068dc845f2dd60b028737338c1 (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
63
##############################################################################
# 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}
        user: ${CURRENT_UID}
        volumes:
            - ./storperf-master/:/storperf
            - ./certs:/etc/ssl/certs/
        links:
            - storperf-graphite

    storperf-reporting:
        container_name: "storperf-reporting"
        build:
            context: storperf-reporting
            args:
                ARCH: ${ARCH}
        user: ${CURRENT_UID}
        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}

    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