mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-04 15:26:48 +00:00
uses basic auth for flower
This commit is contained in:
parent
636de3ae54
commit
a29a5dbde9
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue