https://github.com/bdeshi/crowdsec-config-dev
https://github.com/bdeshi/crowdsec-config-dev
crowdsec crowdsec-parser
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bdeshi/crowdsec-config-dev
- Owner: bdeshi
- Created: 2025-02-10T03:58:22.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-10T04:10:32.000Z (8 months ago)
- Last Synced: 2025-02-10T05:22:27.256Z (8 months ago)
- Topics: crowdsec, crowdsec-parser
- Language: Dockerfile
- Homepage: https://git.bdeshi.space/bdeshi/crowdsec-config-dev
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Crowdsec configuration development environment
This project is a Docker Compose based template for [CrowdSec](https://docs.crowdsec.net/) configuration development.
## Usage
Configuration files go into the **develop** directory.
Test results will get stored in the **results** directory.
Run `docker-compose -f compose.dev.yaml up --watch` (or `./start.sh`) to start the development environment.
This automatically rebuilds the container when changes are detected, runs tests, and places test artifacts into the **results** directory.
What next? Start here:
## Notes
**compose.dev.yaml** sets an environment variable **CONTAINER_LINGER** which is used in the entrypoint script to keep the container up,
otherwise `compose watch` stops watching after container exit.