Off the Clock Docs

Developers

Deploying

One Dockerfile builds all three binaries; each service picks its app with its start command.

Services and volumes

Draft outline

otc-appview, otc-feedgen, otc-web, each with a volume at /app/data and one replica (SQLite on the volume). Start commands /usr/local/bin/otc-start <service>.

Domains and certificates

Draft outline

The site, api. and feeds.. A service is never ready until its domain has a certificate, because the community's PDS fetches its /.well-known/did.json before granting a credential. Don't loop certificate retries (Let's Encrypt limits).

Deploying a release

git archive HEAD | tar -x -C /tmp/otc-export
cd /tmp/otc-export
railway up -s otc-appview --detach
Draft outline

AppView first when a change touches what the others ask of it.

Readiness

Draft outline

/_alive answers once listening; /_ready once the service holds an active space credential.

First-run setup

Draft outline

Setup mode until the community identity signs in and the self management space and general exist.