* Moved Flower keys to env-file

This commit is contained in:
Phil Zhitnikov 2024-04-28 04:36:26 +04:00
parent 4cbc269804
commit f72bc724e2
2 changed files with 2 additions and 4 deletions

View File

@ -16,5 +16,4 @@ POIZON_TOKEN=""
CURRENCY_GETGEOIP_API_KEY=""
# Celery & Flower
FLOWER_LOGIN=""
FLOWER_PASSWORD=""
FLOWER_BASIC_AUTH="login:pwd"

View File

@ -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]