mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-17 03:51:02 +03:00
Merge pull request #520 from SpisTresci/removing_duplication_of_depends_on
removing duplication of depends_on in docker-compose.yml
This commit is contained in:
commit
bd645cbac5
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user