]> Repos - crimata-infra/commit
Refactor customer → instance package, add dock service, update provision.sh
authorAndrew Gundersen <adgundersen@gmail.com>
Fri, 27 Feb 2026 04:51:43 +0000 (23:51 -0500)
committerAndrew Gundersen <adgundersen@gmail.com>
Fri, 27 Feb 2026 04:51:43 +0000 (23:51 -0500)
commit276fddc46737cf9b94d7a0bd167b3f36dfc7ed22
tree8804b3e08b69840785c94bd4bc34864d224c95b9
parent17d85202f7c6bf729ec2490470f3f23b07811520
Refactor customer → instance package, add dock service, update provision.sh

- Rename internal/customer → internal/instance, customers table → instances
- Rename API endpoint /customers → /instances
- Add internal/instance package with clean schema (drops email, subscription ID)
- Add JSON struct tags, exclude ssh_private_key from responses
- Build out crimata-dock C service (libmicrohttpd + libsystemd)
- Update provision.sh to install full OS stack from adgundersen/os
- Add MIT License

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
LICENSE [new file with mode: 0644]
cmd/server/main.go
internal/api/api.go
internal/compute/provision.sh
internal/instance/instance.go [new file with mode: 0644]