# Nous annotation and dataset services

This Compose stack provides the self-hosted Phase 87 annotation dependencies:
Label Studio, Argilla, PostgreSQL, Redis, and MinIO. All public ports bind to
loopback by default; place an authenticated TLS reverse proxy in front of them
for shared environments.

1. Copy `.env.example` to `.env` and replace every example secret.
2. Run `docker compose config --quiet` to validate interpolation.
3. Run `docker compose up -d` and wait for dependency health checks.
4. Create Label Studio and Argilla service accounts, then provide their API
   tokens to the Nous service secret manager. Never commit those tokens.

Persistent state is held in named volumes. PostgreSQL backups and MinIO object
replication must be enabled by the target environment's normal backup policy
before production annotation begins.
