Skip to content

Conversation

annavik
Copy link
Member

@annavik annavik commented Feb 26, 2025

I think something Docker related, but not fully sure, looks like some binary file? It keeps getting listed as a untracked file for me.

@annavik annavik requested a review from mihow February 26, 2025 16:12
Copy link

netlify bot commented Feb 26, 2025

Deploy Preview for ami-dev canceled.

Name Link
🔨 Latest commit 40429f7
🔍 Latest deploy log https://app.netlify.com/sites/ami-dev/deploys/67c52dc145075800086b4d9e

@mihow
Copy link
Collaborator

mihow commented Feb 27, 2025

This has been bugging me too but I am wondering what the root cause is!

@annavik
Copy link
Member Author

annavik commented Feb 27, 2025

Looks like some database file? Still not fully sure if the correct solution should be to ignore it or make sure it's not being generated?

A clue:
Screenshot 2025-02-27 at 16 49 47

From ChatGPT:

Since the file is named "flower", it might be related to Celery Flower, a real-time monitoring tool for Celery workers. If you’re using Celery in your project, this could be a cache or database file generated by Flower.

@mihow
Copy link
Collaborator

mihow commented Mar 3, 2025

@mohamedelabbas1996 can you try and make the flower service save the flower database file to ./data/ instead of the project root? That folder is already ignored in git. I think this started happening when I upgraded flower a few weeks ago. Flower is a web interface for viewing the Celery background tasks.

Check out the config here:

antenna/docker-compose.yml

Lines 99 to 104 in ad9007f

flower:
<<: *django
image: ami_local_flower
ports:
- "5555:5555"
command: /start-flower

exec watchfiles --filter python celery.__main__.main \
--args \
"-A config.celery_app -b \"${CELERY_BROKER_URL}\" flower --basic_auth=\"${CELERY_FLOWER_USER}:${CELERY_FLOWER_PASSWORD}\""

@mihow mihow merged commit bd073a9 into main Mar 3, 2025
6 checks passed
@mihow mihow deleted the chore/ignore-flower branch March 3, 2025 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants