This is the fastest way to see Trusted Servants Pro running on your own machine. If you're deploying to a public server with a domain and HTTPS, follow the full Installation guide instead.
Prerequisites
- Docker Engine and the Compose plugin. Verify with:
docker --version && docker compose version
1. Create the project
Make an empty directory and add a docker-compose.yml:
services:
tsp:
image: hyprlab/tspro:latest
container_name: tspro
ports:
- "8090:8000"
volumes:
- ./data:/data
environment:
- TSP_SECRET_KEY=${TSP_SECRET_KEY:?TSP_SECRET_KEY must be set in .env}
- TSP_ADMIN_PASSWORD=${TSP_ADMIN_PASSWORD:?TSP_ADMIN_PASSWORD must be set in .env}
restart: unless-stopped
2. Generate a secret key and an admin password
The portal signs session cookies with TSP_SECRET_KEY, and seeds the first
admin with TSP_ADMIN_PASSWORD. It won't start on an empty database without
both. Write random ones into a .env file next to the compose file:
echo "TSP_SECRET_KEY=$(openssl rand -hex 32)" > .env
echo "TSP_ADMIN_PASSWORD=$(openssl rand -base64 18)" >> .env
cat .env # note the password
3. Start it
docker compose up -d
The image pulls and the container starts in the background. Your data lives in
./data and survives restarts and upgrades.
4. Sign in
Open the two entry points:
→ http://localhost:8090 # public site
→ http://localhost:8090/tspro # admin backend
Sign in to the admin as admin with the password from your .env. The first
sign-in walks you through setting up two-factor authentication with an
authenticator app.
What next?
- Installation — the full production install with a domain, automatic HTTPS, and auto-updates.
- Configuration & Security — environment variables and how secrets are stored.
- Backup & Restore — keep your data safe.