parent
e9ba0d6000
commit
0b3db9035e
5 changed files with 20 additions and 17 deletions
@ -0,0 +1,13 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
|
||||||
|
import os |
||||||
|
import envvars as e |
||||||
|
|
||||||
|
conf_dir = os.path.normpath(os.path.join(os.path.dirname(__file__), '..')) |
||||||
|
e.load(os.path.join(conf_dir, 'conf/env')) |
||||||
|
|
||||||
|
port = e.get('FLOWER_PORT') |
||||||
|
|
||||||
|
broker = e.get('CELERY_BROKER_URL') |
||||||
|
|
||||||
|
basic_auth = [e.get('FLOWER_BASIC_AUTH')] |
||||||
Loading…
Reference in new issue