* Moved Flower keys to env-file

This commit is contained in:
Phil Zhitnikov 2024-04-28 04:29:25 +04:00
parent 4b59df5555
commit 57313e3018
2 changed files with 5 additions and 1 deletions

View File

@ -14,3 +14,7 @@ CDEK_CLIENT_ID=""
CDEK_CLIENT_SECRET=""
POIZON_TOKEN=""
CURRENCY_GETGEOIP_API_KEY=""
# Celery & Flower
FLOWER_LOGIN=""
FLOWER_PASSWORD=""

View File

@ -13,7 +13,7 @@ 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=admin:meowmeow'
--url_prefix=/flower --basic-auth=${FLOWER_LOGIN}:${FLOWER_PASSWORD}'
Restart=on-failure
[Install]