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 1400dba12c
commit ab69961b5c
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