aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.override-dev.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.override-dev.yml')
-rw-r--r--docker-compose.override-dev.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker-compose.override-dev.yml b/docker-compose.override-dev.yml
index b9de639..c6ee3b8 100644
--- a/docker-compose.override-dev.yml
+++ b/docker-compose.override-dev.yml
@@ -9,11 +9,24 @@
##############################################################################
version: '3'
services:
+ nginx:
+ command: echo "Nginx is disabled in dev mode."
+ restart: "no"
+
web:
image: opnfv/laas-dashboard:dev
build:
context: .
dockerfile: web/Dockerfile
+ command: >
+ sh -c "cd static && bower install --allow-root && cd .. &&
+ ./manage.py migrate &&
+ ./manage.py runserver 0:8000"
+ volumes:
+ - ./src:/laas_dashboard
+ ports:
+ - "8000:8000"
+
worker:
image: opnfv/laas-celery:dev
build: