From b20ed75c28204b72c2e6997fc28c84adb78a83ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= <ciaranainsworth@posteo.net> Date: Mon, 6 Jan 2020 10:06:47 +0100 Subject: [PATCH] Resolve "When using docker-compose deployment, the celerybeat container may stumble over a stale pid file" --- changes/changelog.d/1004.bugfix | 1 + deploy/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/changelog.d/1004.bugfix diff --git a/changes/changelog.d/1004.bugfix b/changes/changelog.d/1004.bugfix new file mode 100644 index 000000000..5c99a3e1f --- /dev/null +++ b/changes/changelog.d/1004.bugfix @@ -0,0 +1 @@ +Fixed an issue with celerybeat container failing to restart (#1004) \ No newline at end of file diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index f31115b5f..0a4be1674 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -52,7 +52,7 @@ services: - postgres - redis env_file: .env - command: celery -A funkwhale_api.taskapp beat -l INFO + command: celery -A funkwhale_api.taskapp beat --pidfile= -l INFO api: restart: unless-stopped -- GitLab