mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Integrates an optional starting of Flower into the Docker image
This commit is contained in:
parent
1400dba12c
commit
ab69961b5c
7 changed files with 203 additions and 111 deletions
7
docker/flower-conditional.sh
Normal file
7
docker/flower-conditional.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue