Read flower port from .env

This commit is contained in:
bcj 2021-05-17 00:03:51 -05:00
parent e8124806b1
commit 892d338adc

View file

@ -93,7 +93,7 @@ services:
restart: on-failure
flower:
build: .
command: flower --port=8888 --basic_auth=${FLOWER_USER}:${FLOWER_PASSWORD}
command: flower --port=${FLOWER_PORT} --basic_auth=${FLOWER_USER}:${FLOWER_PASSWORD}
env_file: .env
environment:
- CELERY_BROKER_URL=${CELERY_BROKER}