2 ##############################################################################
3 # Copyright (c) 2016 Max Breitenfeldt and others.
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 ##############################################################################
21 - ./config/nginx:/etc/nginx/conf.d
22 - /var/lib/pharos_dashboard/static:/static
23 - /var/lib/pharos_dashboard/media:/media
31 # yamllint disable rule:line-length
32 command: bash -c "python manage.py migrate && python manage.py collectstatic --no-input && gunicorn pharos_dashboard.wsgi -b 0.0.0.0:8000"
33 # yamllint enable rule:line-length
40 - ./:/pharos_dashboard
41 - /var/lib/pharos_dashboard/static:/static
42 - /var/lib/pharos_dashboard/media:/media
48 image: postgres:latest
52 - ./config/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
53 - pharos-data:/var/lib/postgresql/data
66 # yamllint disable rule:line-length
67 command: bash -c "celery -A pharos_dashboard worker -l info -B --schedule=~/celerybeat-schedule"
68 # yamllint enable rule:line-length
74 - ./:/pharos_dashboard