summaryrefslogtreecommitdiffstats
path: root/cvp/docker/docker-compose.yml
blob: a5da0b965027c2a9d3bfd509d48019ae64ab9bc3 (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
---
version: '3'
services:
    testapi:
        image: opnfv/testapi:cvp.0.5.0
        container_name: cvp-testapi
        env_file:
            - config.env
        volumes:
            - cvp-testapi-logs:/home/testapi/logs
        links:
            - mongodb
        ports:
            - "8010:8010"
    mongodb:
        image: mongo:3.2.1
        container_name: cvp-db
        volumes:
            - cvp-db:/data/db
        expose:
            - "27017"
    web:
        image: opnfv/dovetail:web.ovp.1.1.2
        container_name: cvp-web
        restart: always
        env_file:
            - config.env
            - vhost.env
        volumes:
            - cvp-testapi-logs:/home/testapi/logs
        links:
            - mongodb
            - testapi
            - cvpapi
        ports:
            - "8000:8000"
    cvpapi:
        image: opnfv/dovetail:api.ovp.1.1.2
        container_name: cvp-cvpapi
        env_file:
            - config.env
        volumes:
            - cvp-testapi-logs:/home/testapi/logs
        ports:
            - "8011:8011"
    nginx:
        image: jwilder/nginx-proxy
        container_name: cvp-nginx
        volumes:
            - /var/run/docker.sock:/tmp/docker.sock:ro
        depends_on:
            - web
        ports:
            - "80:80"

volumes:
    cvp-db:
    cvp-testapi-logs: