--- /dev/null
+config.env
+vhost.env
--- /dev/null
+Docker Deployment
+=================
+
+To deploy the OVP Dashboard perform the following steps:
+
+ #. Copy config.env.sample to config.env
+
+ cp config.env.sample config.env
+
+ #. Copy vhost.env.sample to vhost.env
+
+ cp vhost.env.sample vhost.env
+
+ #. Modify config.env and vhost.env to you liking
+
+ #. Bring the services up
+
+ docker-compose up -d
+
+ #. Navigate to the site listed in vhost.env in your browser of choice
+
+ google-chrome-stable http://ovp.localhost
+
+ .. note::
+
+ If you're using the default sitename 'ovp.localhost', you'll
+ need to add the following line to /etc/hosts:
+
+ 127.0.0.1 ovp.localhost
--- /dev/null
+mongodb_url=mongodb://mongodb:27017/
+base_url=http://ovp.localhost
+testapi_url=testapi:8010
testapi:
image: opnfv/testapi:cvp.0.5.0
container_name: cvp-testapi
- environment:
- - mongodb_url=mongodb://mongodb:27017/
- - base_url=https://cvp.opnfv.org
+ env_file:
+ - config.env
volumes:
- cvp-testapi-logs:/home/testapi/logs
links:
expose:
- "27017"
web:
- image: opnfv/dovetail:web.cvp.0.7.0
+ image: opnfv/dovetail:web.ovp.1.0.0
container_name: cvp-web
restart: always
- environment:
- - testapi_url=testapi:8010
- - VIRTUAL_HOST=cvp.opnfv.org
+ env_file:
+ - config.env
+ - vhost.env
volumes:
- cvp-testapi-logs:/home/testapi/logs
links:
ports:
- "8000:8000"
cvpapi:
- image: opnfv/dovetail:api.cvp.0.7.0
+ image: opnfv/dovetail:api.ovp.1.0.0
container_name: cvp-cvpapi
- environment:
- - mongodb_url=mongodb://mongodb:27017/
- - base_url=https://cvp.opnfv.org
+ env_file:
+ - config.env
volumes:
- cvp-testapi-logs:/home/testapi/logs
ports:
--- /dev/null
+VIRTUAL_HOST=ovp.localhost