summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-06-23 16:13:12 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-06-27 15:33:21 -0700
commit8c90b92f54a197b1177674589d42c884330b43a8 (patch)
tree067f915bb59a8b3e149b9ddff2fa71afd53ef33c /tools/pharos-dashboard
parenta6c6721164807e36b8a97832c30bfb0cdfe8ac04 (diff)
Fix Yamllint Violations
JIRA: PHAROS-298 Change-Id: I1c9afc9bfee4a60144b95bc38e2333260c95167a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'tools/pharos-dashboard')
-rw-r--r--tools/pharos-dashboard/docker-compose.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/pharos-dashboard/docker-compose.yml b/tools/pharos-dashboard/docker-compose.yml
index 2f020114..16b8c0fd 100644
--- a/tools/pharos-dashboard/docker-compose.yml
+++ b/tools/pharos-dashboard/docker-compose.yml
@@ -1,3 +1,4 @@
+---
##############################################################################
# Copyright (c) 2016 Max Breitenfeldt and others.
#
@@ -27,7 +28,9 @@ services:
restart: always
build: ./web/
container_name: dg01
+ # yamllint disable rule:line-length
command: bash -c "python manage.py migrate && python manage.py collectstatic --no-input && gunicorn pharos_dashboard.wsgi -b 0.0.0.0:8000"
+ # yamllint enable rule:line-length
depends_on:
- postgres
links:
@@ -46,8 +49,8 @@ services:
container_name: ps01
env_file: config.env
volumes:
- - ./config/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- - /var/lib/pharos_dashboard/postgresql:/var/lib/postgresql
+ - ./config/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
+ - /var/lib/pharos_dashboard/postgresql:/var/lib/postgresql
rabbitmq:
restart: always
@@ -55,12 +58,14 @@ services:
container_name: rm01
env_file: config.env
ports:
- - "5672:5672"
-
+ - "5672:5672"
+
worker:
restart: always
build: ./worker/
+ # yamllint disable rule:line-length
command: bash -c "celery -A pharos_dashboard worker -l info -B --schedule=~/celerybeat-schedule"
+ # yamllint enable rule:line-length
env_file: config.env
links:
- postgres