aboutsummaryrefslogtreecommitdiffstats
path: root/docker/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/docker-compose.yml')
-rw-r--r--docker/docker-compose.yml58
1 files changed, 58 insertions, 0 deletions
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
new file mode 100644
index 0000000..a5da0b9
--- /dev/null
+++ b/docker/docker-compose.yml
@@ -0,0 +1,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: