Installation Guide
This page shows how to launch the SPX Server locally with Docker—using either the personalized Docker Compose from the License Keys page or your own template—and verify it responds on your machine.
In this Installation Guide you’ll perform one simple task: start the SPX Server in Docker and confirm it’s reachable on your computer. After selecting a subscription on https://simplephysx.com, you can either use a personalized Docker Compose file (fastest) or a custom template (e.g., to pin an image tag). We’ll cover the prerequisites, show how to bring the container up, and how to check that the server answers locally.
Requirements
Docker Desktop
Windows: Install Docker Desktop for Windows (WSL 2 backend). Ensure WSL 2 is enabled, the WSL kernel update is installed, and virtualization is enabled in BIOS/UEFI. Start Docker Desktop before proceeding.
macOS: Install Docker Desktop for Mac (Intel or Apple Silicon) and start it.
Quick check:
docker --version docker compose version
Python:
>=3.9(tested in CI on3.9–3.12).pipavailable (or Conda if you prefer Conda environments).Account & Subscription: An SPX account on
https://simplephysx.comwith an active subscription (e.g., Community). After choosing a plan, you can either download a personalized Docker Compose file (includes your key) or copy a product key to use asSPX_PRODUCT_KEY.Network: Internet access to pull images from Docker Hub and local port 8000 available.
Basics for verification: A web browser or
curl/PowerShell (Invoke-WebRequest) to checkhttp://localhost:8000/health.
Step-by-Step Installation Process
Create your account & choose a subscription
Go to
https://simplephysx.comand create an account / sign in.Select a subscription plan.
Retrieve your product key (
SPX_PRODUCT_KEY) and (if available) a personalized Docker Compose file.
The downloaded Compose file is personalized (it embeds your key). Treat it like a secret and do not share it publicly.
Choose your setup path
Path A — Quickest start (recommended for most users)
Use the personalized Compose you just downloaded:
Save the file as docker-compose.yml in your project folder.
Start the server:
Verify the server is healthy:
Success criteria:
curlexits with code0and returns JSON with"status":"ok".
Path B — Custom image/tag (e.g., specific alpha) or team template
Create a minimal Compose + .env file (recommended for teams because the key stays out of YAML).
Create
.env(do not commit it; treat it as a secret):Create
docker-compose.yml:Start the server:
Verify the server is healthy:
Success criteria:
curlexits with code0and returns JSON with"status":"ok".
Path C - Installer + packs (spx-examples)
Use the installer when you want a ready-to-run bundle of models, supporting services (MQTT/BACnet/KNX/etc.), and optional UI.
Clone the public
spx-examplesrepo:Run the installer wizard:
macOS/Linux:
./spx-install.shWindows PowerShell:
pwsh ./spx-install.ps1
The generated bundle lives in
build/spx-generated/. Update.envwith your key, then start it withspx-start.shorspx-start.ps1.
For full details, see Installer and Packs (spx-examples).
Common commands (both paths)
Verify
Health endpoint:
Expected response shape (values may differ):
Logs
Stop
Next steps
Last updated

