Fix celery services exit with status code 2

Fixes #1588.
This commit is contained in:
Nikita P. Shupeyko 2018-03-28 18:17:23 +03:00
parent 59cd5b4849
commit bf089fd2b6
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,7 @@ services:
{%- endif %}
env_file:
- ./.envs/.local/.celery
- ./.envs/.local/.postgres
ports: []
command: /start-celeryworker.sh
@ -71,6 +72,7 @@ services:
{%- endif %}
env_file:
- ./.envs/.local/.celery
- ./.envs/.local/.postgres
ports: []
command: /start-celerybeat.sh

View File

@ -56,6 +56,7 @@ services:
- redis
env_file:
- ./.envs/.production/.celery
- ./.envs/.production/.postgres
command: /start-celeryworker.sh
celerybeat:
@ -65,6 +66,7 @@ services:
- redis
env_file:
- ./.envs/.production/.celery
- ./.envs/.production/.postgres
command: /start-celerybeat.sh
{%- endif %}