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