To install crowdsec one can execute
To install crowdsec one can execute:
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # This script prepares a Docker Compose stack with Traefik and CrowdSec | |
| # on a fresh Ubuntu-like EC2 host so the documentation flow can be tested end-to-end. | |
| if [[ "${EUID}" -ne 0 ]]; then | |
| echo "[!] Please run this script as root (e.g. with sudo)." >&2 | |
| exit 1 | |
| fi |
To install crowdsec one can execute: