added booking details api endpoint
[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 runserver 0:8000"
24         volumes:
25             - ./src:/laas_dashboard
26         ports:
27             - "8000:8000"
28
29     worker:
30         image: opnfv/laas-celery:dev
31         build:
32             context: .
33             dockerfile: worker/Dockerfile