-
Hello all, First of all, I want to thank @danyi1212 for this great project! It looks very promising. We are currently evaluating Celery Insights as a successor for Flower. With Flower, it is possible to persist the home folder of the user, which is running Flower in the container. This way, past data is present in Flower, even if the container is restarted. Is this also possible for Celery Insights? Edit: Flower will only persist its data, if a DB is configured. In our case this DB is stored in the home folder, hence persisting the home folder worked for us. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Seems like it is working in the very same way as for Flower by creating a volume and mapping it to the home folder of user This is how I add it to the Docker Compose file: services:
celery-insights:
image: ghcr.io/danyi1212/celery-insights:latest
ports:
- "8555:8555"
environment:
BROKER_URL: redis://redis:6379
RESULT_BACKEND: redis://redis:6379
volumes:
- insights_data:/home/myuser/
networks:
- my-net
volumes:
insights_data: |
Beta Was this translation helpful? Give feedback.
-
Hey, currently there is no way of persisting the data between restarts. This is possible, though I wouldn't follow Flower's approach of using a Shelve DB due to limited performance. If this will get enough interest, I could definitely push on this idea 🌟 |
Beta Was this translation helpful? Give feedback.
Hey, currently there is no way of persisting the data between restarts.
This is possible, though I wouldn't follow Flower's approach of using a Shelve DB due to limited performance.
I've had plans of integrating a pluggable storage layer that could use a Pebble DB / Redis / etscd / TiKV or else.
If this will get enough interest, I could definitely push on this idea 🌟