* Moved Flower keys to env-file
This commit is contained in:
parent
57313e3018
commit
12ca631d15
|
|
@ -16,5 +16,4 @@ POIZON_TOKEN=""
|
|||
CURRENCY_GETGEOIP_API_KEY=""
|
||||
|
||||
# Celery & Flower
|
||||
FLOWER_LOGIN=""
|
||||
FLOWER_PASSWORD=""
|
||||
FLOWER_BASIC_AUTH="login:pwd"
|
||||
|
|
@ -12,8 +12,7 @@ EnvironmentFile=/var/www/poizonstore-stage/.env
|
|||
WorkingDirectory=/var/www/poizonstore-stage
|
||||
RuntimeDirectory=celery
|
||||
|
||||
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} --workdir=${APP_HOME} flower --port=5556 \
|
||||
--url_prefix=/flower --basic-auth=${FLOWER_LOGIN}:${FLOWER_PASSWORD}'
|
||||
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} --workdir=${APP_HOME} flower --port=5556 --url_prefix=/flower'
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user