From a29a5dbde90296606b0556ac2c7c9e5594cb4674 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 5 Jan 2021 12:52:10 -0800 Subject: [PATCH] uses basic auth for flower --- .env.example | 4 ++++ docker-compose.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index fe12d0ff..2b3d698d 100644 --- a/.env.example +++ b/.env.example @@ -27,6 +27,10 @@ REDIS_PASSWORD=redispassword123 CELERY_BROKER=redis://:${REDIS_PASSWORD}@redis:6379/0 CELERY_RESULT_BACKEND=redis://:${REDIS_PASSWORD}@redis:6379/0 +FLOWER_PORT=8888 +FLOWER_USER=mouse +FLOWER_PASSWORD=changeme + EMAIL_HOST="smtp.mailgun.org" EMAIL_PORT=587 EMAIL_HOST_USER=mail@your.domain.here diff --git a/docker-compose.yml b/docker-compose.yml index b91183f7..9b8b9a44 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -74,7 +74,7 @@ services: restart: on-failure flower: build: . - command: flower --port=8888 + command: flower --port=8888 --basic_auth=${FLOWER_USER}:${FLOWER_PASSWORD} env_file: .env environment: - CELERY_BROKER_URL=${CELERY_BROKER}