From c4dd5a63080c527c8914a6af167b56c7b14b12cb Mon Sep 17 00:00:00 2001 From: meliurwen Date: Tue, 25 Aug 2020 00:20:47 +0200 Subject: [PATCH] Added back the FUNKWHALE_HOSTNAME to the celerybeat service --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6516386..fa17e00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,7 +44,7 @@ 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 -A funkwhale_api.taskapp worker -l INFO --concurrency=${CELERYD_CONCURRENCY:-0} celerybeat: image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest} @@ -54,6 +54,8 @@ services: - redis env_file: - all.env + environment: + - FUNKWHALE_HOSTNAME=${FUNKWHALE_HOSTNAME} command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO api: