kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(api): use exec format in docker-compose
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2331>environments/review-docs-docs-mup14p/deployments/16950
rodzic
a0cda2a56c
commit
b10b0b608a
|
@ -32,7 +32,12 @@ services:
|
|||
# of CPUs. You can adjust this, by explicitly setting the --concurrency
|
||||
# flag:
|
||||
# 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
|
||||
- --app=funkwhale_api.taskapp
|
||||
- worker
|
||||
- --loglevel=INFO
|
||||
- --concurrency=${CELERYD_CONCURRENCY-0}
|
||||
environment:
|
||||
- C_FORCE_ROOT=true
|
||||
volumes:
|
||||
|
@ -42,11 +47,15 @@ services:
|
|||
celerybeat:
|
||||
restart: unless-stopped
|
||||
image: funkwhale/api:${FUNKWHALE_VERSION:-latest}
|
||||
command:
|
||||
- celery
|
||||
- --app=funkwhale_api.taskapp
|
||||
- beat
|
||||
- --loglevel=INFO
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
env_file: .env
|
||||
command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO
|
||||
|
||||
api:
|
||||
restart: unless-stopped
|
||||
|
|
Ładowanie…
Reference in New Issue