mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +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
|
- 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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user