celery flower db path from s3 file or external source
nirob-appsbee opened this issue · comments
Describe the bug
i am not able to set the db path from amazon s3 filepath. as db is growing day by day i want ot store flower.db in a different server like amazon s3. it is not working
To Reproduce
Steps to reproduce the behavior:
- create a flowerconfig.py file in project directory
- import os
basic_auth = ['sun:flower']
persistent = True
db = "https://rocktomic.s3.ap-south-1.amazonaws.com/common-file/flower.db"
Error
File "/usr/lib/python3.11/dbm/init.py", line 95, in open
rocktomic-flower | return mod.open(file, flag, mode)
rocktomic-flower | ^^^^^^^^^^^^^^^^^^^^^^^^^^
rocktomic-flower | _dbm.error: [Errno 2] No such file or directory: 'https://rocktomic.s3.ap-south-1.amazonaws.com/common-file/flower.db'
Looking at the code, it uses shelf
which uses the local filesystem for storage. db
is a path on the filesystem.