Alex Mikhalev 2b5ab840f7 docs: Add articles comparing beads/br/agent-mail with Gitea replacement
Two complementary articles:
- ARTICLE-agent-task-management.md: CTO voice, ~2800 words, narrative style
- ARTICLE-agent-task-consolidation.md: Technical reference, ~6000 words, full configs

Both cover: beads (Go) vs br (Rust) vs Agent Mail vs Gitea with 12 labels,
1Password integration, SeaweedFS S3 storage, Docker Compose deployment,
and the three API gotchas (label swap, assignees, dependencies).
All commands verified against live Gitea 1.22.6.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 14:11:21 +01:00

Ultimate Build Machine using Gitea

Self-hosted Git infrastructure with S3-compatible storage, monitoring, and proper secrets management.

Stack Components

  • Gitea (1.22.6) - Git hosting with Actions and LFS support
  • PostgreSQL (15) - Database
  • SeaweedFS - Distributed S3-compatible object storage
  • Prometheus (v2.21.0) - Metrics and monitoring
  • Caddy - Reverse proxy with automatic HTTPS
  • 1Password - Secrets management via op inject

Quick Start

Prerequisites

  1. 1Password Vault Items - Create in zesticai-non-prod vault:

    op item create --vault="zesticai-non-prod" --category=login \
      --title="gitea-postgres" --generate-password=20 username=gitea
    
    op item create --vault="zesticai-non-prod" --category=custom \
      --title="gitea-s3" access-key="$(openssl rand -hex 20)" \
      secret-key="$(openssl rand -hex 40)"
    
  2. SSH Access - Ensure ssh bigbox works

  3. 1Password Service Account - ~/op_zesticai_non_prod.sh on bigbox

Deploy to Bigbox

./deploy-to-bigbox.sh

Access Services

After deployment:

Public (via HTTPS on terraphim.cloud):

Tailscale Network Only (100.106.66.7):

Note: Prometheus and S3 are only accessible within the Tailscale VPN network, not from the public internet.

Documentation

Security

  • No hardcoded secrets - All credentials managed via 1Password
  • Template files (.template) contain op:// references
  • Generated files excluded from git (.gitignore)
  • Caddy provides automatic HTTPS
  • Secret injection at deployment time via op inject

TODO

  • Automatic spin up and registration of gitea runners (github compatible)
  • Earthly buildkit daemon (not satellite - with gitea runners we don't need earthly satellites)
Description
Gitea deployment configuration with 1Password, Caddy, and Tailscale
Readme 637 KiB
Languages
Shell 100%