mirror of
https://github.com/reconurge/flowsint.git
synced 2026-05-07 04:09:49 -05:00
[GH-ISSUE #134] AUTH_SECRET missing from celery service in docker-compose.prod.yml #1054
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Quaerendir on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/reconurge/flowsint/issues/134
Bug:
AUTH_SECRETmissing fromceleryservice environment indocker-compose.prod.ymlDescription
The
celeryservice indocker-compose.prod.ymlis missing theAUTH_SECRETenvironment variable, which causes it to crash on startup with the following error:This happens because
flowsint_core/core/auth.pyvalidates the presence ofAUTH_SECRETat import time — andceleryimports fromflowsint_coreon startup.Steps to reproduce
.env.exampleto.envand set all required variables includingAUTH_SECRETdocker compose -f docker-compose.prod.yml upflowsint-celery-prodcrashes immediately and restarts in a loopExpected behavior
Celery worker starts successfully.
Actual behavior
Fix
Add
AUTH_SECRETto theceleryservice environment block indocker-compose.prod.yml:Note: the
apiservice already correctly passes this variable — it was simply omitted fromcelery.Environment
main@dextmorgn commented on GitHub (Apr 6, 2026):
Hey @Quaerendir, thanks for spotting this !
Fixed with this commit.