Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for loading FLOWER_OAUTH2_SECRET as a secret #1249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amirlazarovich
Copy link

This will allow one to do the following:

docker-compose.yml

version: "3.9"

services:
  celery-worker:
    ...
  
  celery-flower:
    image: mher/flower:1.2
    command: celery --broker=$REDIS_URL flower --port=5555 --auth=".*@my.domain"
    ports:
      - 5555:5555
    environment:
      FLOWER_OAUTH2_SECRET_FILE: /run/secrets/flower_oauth2_secret
    depends_on:
      - celery-worker
    secrets:
      - flower_oauth2_secret

secrets:
  flower_oauth2_secret:
    file: secrets/flower_oauth2_secret

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.

None yet

1 participant