removing duplication of depends_on

This commit is contained in:
Krzysztof Szumny 2016-04-13 01:16:50 +02:00
parent 86d6d8e423
commit e63d2fe8fe

View File

@ -22,9 +22,6 @@ services:
- redis - redis
command: /gunicorn.sh command: /gunicorn.sh
env_file: .env env_file: .env
depends_on:
- postgres
- redis
nginx: nginx:
build: ./compose/nginx build: ./compose/nginx
@ -46,9 +43,6 @@ services:
- postgres - postgres
- redis - redis
command: celery -A {{cookiecutter.repo_name}}.taskapp worker -l INFO command: celery -A {{cookiecutter.repo_name}}.taskapp worker -l INFO
depends_on:
- postgres
- redis
celerybeat: celerybeat:
build: build:
@ -60,7 +54,4 @@ services:
- postgres - postgres
- redis - redis
command: celery -A {{cookiecutter.repo_name}}.taskapp beat -l INFO command: celery -A {{cookiecutter.repo_name}}.taskapp beat -l INFO
depends_on:
- postgres
- redis
{% endif %} {% endif %}