Skip to content

Commit

Permalink
chore: use CELERY_FLOWER_EXPOSE_SERVICE variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Aug 21, 2024
1 parent b3e3e49 commit 01e1b58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tutorcelery/patches/caddyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if CELERY_FLOWER and CELERY_FLOWER_PUBLIC %}
{% if CELERY_FLOWER and CELERY_FLOWER_EXPOSE_SERVICE %}
# flower
{{ CELERY_FLOWER_HOST }}{$default_site_port} {
import proxy "flower:5555"
Expand Down
2 changes: 1 addition & 1 deletion tutorcelery/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
("CELERY_LMS_EXPLICIT_QUEUES", {}),
("CELERY_CMS_EXPLICIT_QUEUES", {}),
("CELERY_FLOWER", False),
("CELERY_FLOWER_PUBLIC", False),
("CELERY_FLOWER_EXPOSE_SERVICE", False),
("CELERY_FLOWER_HOST", "flower.{{LMS_HOST}}"),
("CELERY_FLOWER_DOCKER_IMAGE", "docker.io/mher/flower:2.0.1"),
("CELERY_MULTIQUEUE_ENABLED", False),
Expand Down

0 comments on commit 01e1b58

Please sign in to comment.