Start on loopback
Install Docker with Compose v2, OpenSSL and curl. Use a fresh, complete source checkout with
network access for the build. Run these commands at the repository root. Keep the original
.env and database if you already have an installation.
Before starting the server, add the persistent data directory override
and put the complete Compose file list in .env when creating it below. If you also
mount an external sealing-key file, include its override in that same list.
(umask 077; set -C; printf 'POSTGRES_PASSWORD=%s\n%s\n' "$(openssl rand -hex 32)" \
'COMPOSE_FILE=docker-compose.yml:compose.data.yml' > .env) &&
docker compose up -d --build --wait &&
curl -fsS -o /dev/null -w '%{http_code}\n' http://127.0.0.1:8080/healthz
Expect 200. On the Docker host, open http://127.0.0.1:8080. To set up a remote host, use
an SSH tunnel to its loopback port. The first administrator needs the operator's one-time setup
secret. If you did not supply one, find the setup-secret file in the persistent server data
directory. docker compose logs platform reports its path only. Read it privately from the
mounted directory and enter it on the sign-up page to create the first organization and owner.
The first committed account consumes the proof and removes the generated file. Remove any
operator-supplied copy after setup. Save the
Emergency Kit privately before confirming setup. A fresh client needs your password and
Secret Key to sign in.
Open /signup in a separate signed-out browser session. It should redirect to sign-in.
Subsequent registration is by invitation by default. A configured SSO provider can separately
enroll eligible people if its tenant enables just-in-time provisioning.
Enable remote access
Finish the private setup checks first. Follow the TLS guide, verify
sign-in and live sync over HTTPS, then invite people. The backend
port stays private throughout. Set TERMSHEEP_PUBLIC_URL to the final HTTPS origin before
using invitation links, email links, browser SSO or generated agent configuration.
Choose a deployment mode
The source stack builds the platform and its matching web assets locally and serves with one database-owner login. The repository also has a split-credential Compose example for a verified image digest. No public server image is available yet. See deployment requirements and database roles.