Complete project rebrand for better positioning in the press freedom and digital security space. FieldWitness communicates both field deployment and evidence testimony — appropriate for the target audience of journalists, NGOs, and human rights organizations. Rename mapping: - soosef → fieldwitness (package, CLI, all imports) - soosef.stegasoo → fieldwitness.stego - soosef.verisoo → fieldwitness.attest - ~/.soosef/ → ~/.fwmetadata/ (innocuous data dir name) - SOOSEF_DATA_DIR → FIELDWITNESS_DATA_DIR - SoosefConfig → FieldWitnessConfig - SoosefError → FieldWitnessError Also includes: - License switch from MIT to GPL-3.0 - C2PA bridge module (Phase 0-2 MVP): cert.py, export.py, vendor_assertions.py - README repositioned to lead with provenance/federation, stego backgrounded - Threat model skeleton at docs/security/threat-model.md - Planning docs: docs/planning/c2pa-integration.md, docs/planning/gtm-feasibility.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
34 lines
929 B
YAML
34 lines
929 B
YAML
services:
|
|
fieldwitness:
|
|
build:
|
|
context: ../.. # Sources/ directory (contains stego/, attest/, fieldwitness/)
|
|
dockerfile: fieldwitness/docker/Dockerfile
|
|
container_name: fieldwitness
|
|
ports:
|
|
- "35811:35811"
|
|
environment:
|
|
FIELDWITNESS_DATA_DIR: /root/.fwmetadata
|
|
FIELDWITNESS_PORT: "35811"
|
|
FIELDWITNESS_WORKERS: "2"
|
|
FIELDWITNESS_HTTPS_ENABLED: "${FIELDWITNESS_HTTPS_ENABLED:-false}"
|
|
FIELDWITNESS_CHANNEL_KEY: "${FIELDWITNESS_CHANNEL_KEY:-}"
|
|
volumes:
|
|
- fieldwitness-data:/root/.fwmetadata
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-fs", "--max-time", "3", "http://localhost:35811/"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 15s
|
|
retries: 3
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2048M
|
|
reservations:
|
|
memory: 512M
|
|
|
|
volumes:
|
|
fieldwitness-data:
|
|
driver: local
|