Files
harpia/docker-compose.yml
T
Lucas RayanandClaude Sonnet 5 5ed6cb2c95
Release / Build image (amd64) (push) Successful in 10m49s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 20m40s
CI / Format and clippy (push) Successful in 5m43s
CI / Tests (Linux) (push) Successful in 16m5s
CI / Dependency audit (push) Successful in 11s
CI / Docker image (build and smoke test) (push) Skipped
Release / Build image (arm64) (push) Successful in 7m34s
Release / Publish tags (push) Successful in 15s
Release / Gitea release (push) Skipped
Release / CLI (linux-aarch64) (push) Skipped
Release / CLI (linux-x86_64) (push) Skipped
refactor!: rename project from Xexéu to Harpia
Renames the whole project, after the harpy eagle: crates
(xexeu-core/xexeu-cli -> harpia-core/harpia-cli), binary (xexeu ->
harpia), admin token env var (XEXEU_ADMIN_TOKEN -> HARPIA_ADMIN_TOKEN),
compose env vars (XEXEU_* -> HARPIA_*), container image
(ciberfauna/xexeu -> ciberfauna/harpia) and the Gitea repository
(ciberfauna/xexeu -> ciberfauna/harpia). Logo updated to the new brand
artwork. All docs (EN/PT-BR), CI workflows, scripts, GUI strings and
the openspec change history updated to match.

BREAKING CHANGE: binary, crate, env var and image names all changed;
existing .env files, scripts and deployments referencing the old
xexeu/XEXEU names must be updated.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VAyr8cd6jzwpJM9cS1oGjy
2026-11-03 13:43:21 -03:00

54 lines
1.8 KiB
YAML

# Harpia: o scanner varre os alvos autorizados e grava lotes imutáveis;
# o harpia ingere os lotes, calcula diffs e serve a API e o dashboard.
#
# cp .env.example .env && cp examples/harpia.toml config/harpia.toml
# docker compose pull && docker compose up -d # operadores: imagem publicada
# docker compose up -d --build # desenvolvedores: build local
name: harpia
services:
scanner:
image: ${HARPIA_IMAGE:-git.lucasrguerra.dev.br/ciberfauna/harpia}:${HARPIA_VERSION:-latest}
command: ["scanner", "--config", "/config/harpia.toml", "--out", "/data/sweeps"]
network_mode: host
user: "0:0" # root sem nenhuma capability além de NET_RAW
cap_drop: [ALL]
cap_add: [NET_RAW]
read_only: true
tmpfs:
- /tmp
security_opt:
- no-new-privileges:true
volumes:
- ./config:/config:ro
- harpia-sweeps:/data/sweeps
restart: unless-stopped
harpia:
image: ${HARPIA_IMAGE:-git.lucasrguerra.dev.br/ciberfauna/harpia}:${HARPIA_VERSION:-latest}
build: .
command: ["serve", "--bind", "0.0.0.0:8788", "--config", "/config/harpia.toml",
"--sweeps", "/data/sweeps", "--data-dir", "/data/harpia"]
environment:
# Empty: a token is generated at each start and printed in `docker compose logs harpia`.
HARPIA_ADMIN_TOKEN: ${HARPIA_ADMIN_TOKEN:-}
# Signing key for a [[webhook]] with segredo_env = "HARPIA_WEBHOOK_KEY".
HARPIA_WEBHOOK_KEY: ${HARPIA_WEBHOOK_KEY:-}
ports:
- "${HARPIA_PUBLISH:-127.0.0.1:8788}:8788"
volumes:
- ./config:/config:ro
- harpia-sweeps:/data/sweeps:ro
- harpia-data:/data/harpia
read_only: true
tmpfs:
- /tmp
cap_drop: [ALL]
security_opt:
- no-new-privileges:true
restart: unless-stopped
volumes:
harpia-sweeps:
harpia-data: