mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 06:24:52 +03:00
Temporarily run celerybeat as root both locally and in production
This commit is contained in:
parent
b283a8cf9c
commit
5df6083314
|
@ -51,7 +51,7 @@ services:
|
|||
- mailhog
|
||||
{%- endif %}
|
||||
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
|
||||
|
||||
flower:
|
||||
|
|
|
@ -45,6 +45,7 @@ services:
|
|||
environment: production
|
||||
cmd: /celerybeat
|
||||
image: {{ cookiecutter.project_slug }}_production_celerybeat
|
||||
user: root # TODO: a temporary workaround -- do it right instead
|
||||
command: /celerybeat
|
||||
|
||||
flower:
|
||||
|
|
Loading…
Reference in New Issue
Block a user