Color fixes for rebrand
[laas.git] / docker-compose.override-dev.yml
1 ---
2 ##############################################################################
3 # Copyright (c) 2018 Trevor Bramwell and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10 version: '3'
11 services:
12     nginx:
13         command: echo "Nginx is disabled in dev mode."
14         restart: "no"
15
16     web:
17         image: opnfv/laas-dashboard:dev
18         build:
19             context: .
20             dockerfile: web/Dockerfile
21         command: >
22             sh -c "cd static && npm install && cd .. &&
23                    ./manage.py migrate &&
24                    ./manage.py runserver 0:8000"
25         volumes:
26             - ./src:/laas_dashboard
27         ports:
28             - "8000:8000"
29
30     worker:
31         image: opnfv/laas-celery:dev
32         build:
33             context: .
34             dockerfile: worker/Dockerfile