Docker Compose
Run CheeseWAF in Compose with a read-only root filesystem and a non-root user.
Use this path in a container host.
docker compose build produces linux/amd64 or linux/arm64 for the host CPU.
The image runs as UID 10001.
The root filesystem is read-only.
Compose file
The repository file is deploy/docker/docker-compose.yml.
A minimal copy:
YAML
Build context must be the CheeseWAF repository root when you use that Dockerfile.
Start
BASH
Open https://<host>:9443/setup.
The container uses a self-signed admin certificate by default.
The first-run token is in the startup log.
docker compose down keeps the named volumes.
Site config and SQLite live in cheesewaf-data.