Integrates an optional starting of Flower into the Docker image

This commit is contained in:
Trenton H
2022-10-15 12:53:01 -07:00
parent d3a2fe123d
commit 28d50d5c36
7 changed files with 203 additions and 111 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
echo "Checking if we should start flower..."
if [[ -n "${PAPERLESS_ENABLE_FLOWER}" ]]; then
celery --app paperless flower
fi