2026-07-30 22:17:31 -05:00
2026-07-26 15:46:08 -05:00
2026-07-26 14:15:24 -05:00
2026-07-28 21:11:54 -05:00
2026-07-28 21:11:54 -05:00
2026-07-28 22:26:17 -05:00
2026-07-28 19:57:39 -05:00
2026-07-30 22:17:31 -05:00
2026-07-28 20:45:34 -05:00
2026-07-25 13:11:37 -05:00
2026-07-26 15:25:23 -05:00
2026-07-28 17:30:17 -05:00
2026-07-30 22:17:31 -05:00
2026-07-28 17:30:17 -05:00
2026-07-28 22:26:17 -05:00
2026-07-28 22:26:17 -05:00
2026-07-28 21:11:54 -05:00
2026-07-30 22:17:31 -05:00
2026-07-28 21:11:54 -05:00
2026-07-28 21:11:54 -05:00

TAPM Deployment Access

TAPM Deployment Access is a short-lived authorization broker for protected deployment packages and installer actions. Technicians authenticate through the bundled Git service, create deployment codes, and authorize a limited number of hosts for selected capabilities.

The production layout is a self-contained, single-VM Docker deployment:

  • Go broker with a persistent embedded SQLite database
  • rootless Git service with SQLite, repositories, and package registry
  • Nginx reverse proxy for both public domains
  • Certbot and Let's Encrypt HTTP-01 certificate management
  • explicit runtime storage under config/ beside the Compose files
  • privacy-minimized ProxMenu installation and run-status registry

No external database or load balancer is required. The datacenter edge only needs to forward public TCP 80 and 443 to the configured Docker VM ports. All services are managed by one Compose project while remaining separate containers for independent health checks and upgrades.

See docs/deployment.md for the installation, Git setup, TLS bootstrap, repository move, renewal, backup, and update procedures. The ProxMenu integration contract is in docs/client-api.md.

Guided installation

After cloning the repository, run:

./install.sh

The installer defaults to SSL_MODE=none, writes a mode-0600 .env, creates the runtime directories and Docker network, and starts Git behind the HTTP-only Nginx test configuration. It does not invent Git OAuth or package credentials. After creating those resources in Git, run ./manage.sh configure-broker and ./manage.sh start.

New deployment codes default to seven days. While a code is active, the Codes page can raise or lower its host limit, add or remove packages and installer actions, and extend its expiration in whole days. The host limit cannot be reduced below the number of hosts already enrolled, and every change is recorded in the audit trail.

Once public DNS and TCP 80/443 forwarding are ready, switch the same persistent deployment to Let's Encrypt:

./manage.sh set-ssl letsencrypt
./manage.sh bootstrap
./manage.sh start

Local checks

GOCACHE=/tmp/tapm-go-cache go test ./...
docker compose --env-file .env.example config
docker compose --env-file .env.example \
  -f compose.yaml -f compose.http.yaml config
docker compose --env-file .env.example \
  -f compose.yaml -f compose.tls.yaml -f compose.direct.yaml config
docker build -t tai/tapm-deployment-broker:local .
S
Description
No description provided
Readme 358 KiB
Languages
Go 67.9%
Shell 12.8%
HTML 11.3%
CSS 6.5%
JavaScript 1.1%
Other 0.4%