mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-04 23:36:32 +00:00
Merge pull request #486 from mouse-reeve/flower-auth
uses basic auth for flower
This commit is contained in:
commit
0a75c33de4
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_BROKER=redis://:${REDIS_PASSWORD}@redis:6379/0
|
||||||
CELERY_RESULT_BACKEND=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_HOST="smtp.mailgun.org"
|
||||||
EMAIL_PORT=587
|
EMAIL_PORT=587
|
||||||
EMAIL_HOST_USER=mail@your.domain.here
|
EMAIL_HOST_USER=mail@your.domain.here
|
||||||
|
|
|
@ -74,7 +74,7 @@ services:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
flower:
|
flower:
|
||||||
build: .
|
build: .
|
||||||
command: flower --port=8888
|
command: flower --port=8888 --basic_auth=${FLOWER_USER}:${FLOWER_PASSWORD}
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
- CELERY_BROKER_URL=${CELERY_BROKER}
|
- CELERY_BROKER_URL=${CELERY_BROKER}
|
||||||
|
|
Loading…
Reference in a new issue