blob: 2b9958e674b2277e3415ed1ab55fbff3611830ca (
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
|
---
version: '3'
services:
testapi:
image: opnfv/testapi:cvp.0.5.0
container_name: cvp-testapi
environment:
- mongodb_url=mongodb://mongodb:27017/
- base_url=https://cvp.opnfv.org
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.cvp.0.7.0
container_name: cvp-web
restart: always
environment:
- testapi_url=testapi:8010
- VIRTUAL_HOST=cvp.opnfv.org
volumes:
- cvp-testapi-logs:/home/testapi/logs
links:
- mongodb
- testapi
- cvpapi
ports:
- "8000:8000"
cvpapi:
image: opnfv/dovetail:api.cvp.0.7.0
container_name: cvp-cvpapi
environment:
- mongodb_url=mongodb://mongodb:27017/
- base_url=https://cvp.opnfv.org
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:
|