Files
Charon/docs
GitHub Actions e902774e85 fix(crowdsec): resolve non-root container migration issues
Container migration from root to non-root (UID 1000) broke CrowdSec startup due to:
- Missing config template population
- Incorrect symlink creation timing
- Permission conflicts on /etc/crowdsec directory

Changes:
- Dockerfile: Generate config templates at build time, remove /etc/crowdsec directory creation
- Entrypoint: Implement proper symlink creation with migration logic, add fail-fast error handling
- Variables: Centralize CrowdSec path management with CS_LOG_DIR

Testing:
-  10/11 CrowdSec verification tests passed
-  Backend coverage: 85.8% (target: 85%)
-  Frontend coverage: 87.01% (target: 85%)
-  Type safety checks passed
-  All linting passed

Fixes issues with CrowdSec not starting after container non-root migration.
2025-12-22 04:03:04 +00:00
..