Temporarily run celerybeat as root both locally and in production

This commit is contained in:
Nikita P. Shupeyko 2018-06-27 23:21:15 +03:00
parent b283a8cf9c
commit 5df6083314
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ services:
- mailhog - mailhog
{%- endif %} {%- endif %}
ports: [] ports: []
user: root # TODO: a workaround allowing the container to write to the mounted directory -- fix user: root # TODO: a temporary workaround -- do it right instead
command: /celerybeat command: /celerybeat
flower: flower:

View File

@ -45,6 +45,7 @@ services:
environment: production environment: production
cmd: /celerybeat cmd: /celerybeat
image: {{ cookiecutter.project_slug }}_production_celerybeat image: {{ cookiecutter.project_slug }}_production_celerybeat
user: root # TODO: a temporary workaround -- do it right instead
command: /celerybeat command: /celerybeat
flower: flower: