diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-06-23 16:13:12 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-06-27 15:33:21 -0700 |
commit | 43803375b8f30150026362fec4135f4eb8b75bd6 (patch) | |
tree | 270216bf490f75782de55c6399972bf20ec2adda /pharos-dashboard | |
parent | 2235d14f060327066ea035288ca97994c41fc65a (diff) |
Fix Yamllint Violations
JIRA: PHAROS-298
Change-Id: I1c9afc9bfee4a60144b95bc38e2333260c95167a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'pharos-dashboard')
-rw-r--r-- | pharos-dashboard/docker-compose.yml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pharos-dashboard/docker-compose.yml b/pharos-dashboard/docker-compose.yml index 2f02011..16b8c0f 100644 --- a/pharos-dashboard/docker-compose.yml +++ b/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 |