|
|
@ -44,7 +44,7 @@ services: |
|
|
|
# of CPUs. You can adjust this, by explicitly setting the --concurrency |
|
|
|
# of CPUs. You can adjust this, by explicitly setting the --concurrency |
|
|
|
# flag: |
|
|
|
# flag: |
|
|
|
# celery -A funkwhale_api.taskapp worker -l INFO --concurrency=4 |
|
|
|
# celery -A funkwhale_api.taskapp worker -l INFO --concurrency=4 |
|
|
|
command: celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY-0} |
|
|
|
command: celery -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY:-0} |
|
|
|
|
|
|
|
|
|
|
|
celerybeat: |
|
|
|
celerybeat: |
|
|
|
image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest} |
|
|
|
image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest} |
|
|
@ -54,6 +54,8 @@ services: |
|
|
|
- redis |
|
|
|
- redis |
|
|
|
env_file: |
|
|
|
env_file: |
|
|
|
- all.env |
|
|
|
- all.env |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
- FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME} |
|
|
|
command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO |
|
|
|
command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO |
|
|
|
|
|
|
|
|
|
|
|
api: |
|
|
|
api: |
|
|
|