Skip to content

How to self-host a deployment

← All revisions

4f2a1335 · PointSav Digital Systems ·

editorial(media-knowledge-documentation): expand 4 how-to stub guides to full content — binary auth, colocation map, content mounts, self-hosting (EN+ES)

View the full record as of this revision →

@@ -5,7 +5,7 @@ slug: self-host-a-deployment
category: how-to
content_type: how-to
type: how-to
status: stub
status: stable
last_edited: 2026-06-14
editor: pointsav-engineering
paired_with: self-host-a-deployment.es.md
@@ -15,6 +15,95 @@ A PointSav deployment is a named, numbered instance of a gateway configuration p

For the deployment architecture, see [[deployment-patterns]] and [[edge-deployment]]. For the software distribution model that supplies signed binaries to your instance, see [[software-distribution-substrate]].

## Before you begin

You need:

- A Linux server with at least 4 GB RAM and 20 GB available disk
- A verified account at `software.pointsav.com` with an active deployment licence
- A domain name or static IP address for the gateway endpoint
- A TLS certificate and private key for the gateway bind address

## Step 1: Download and verify the gateway binary

Follow [[authenticate-binary-downloads]] to download and verify the gateway
release for your platform. Once verified, install the binary:

```shell
sudo mv pointsav-gateway /usr/local/bin/
sudo chmod +x /usr/local/bin/pointsav-gateway
pointsav-gateway --version
```

The `--version` flag prints the build SHA alongside the version number.
Confirm this matches the release notes entry for the version you downloaded.

## Step 2: Create the deployment directories

```shell
sudo mkdir -p /etc/pointsav/gateway
sudo mkdir -p /var/lib/pointsav/data
```

All configuration lives in `/etc/pointsav/gateway/`. Runtime data — the WORM
ledger, local cache, and key store — writes to `/var/lib/pointsav/data/`.
Both paths should be owned by the process user the gateway will run as.

## Step 3: Write the deployment manifest

Create `/etc/pointsav/gateway/manifest.toml`:

```toml
[deployment]
name          = "<your-deployment-name>"
instance      = 1
licence_token = "<your-licence-token>"

[gateway]
bind     = "0.0.0.0:443"
tls_cert = "/etc/pointsav/gateway/tls.crt"
tls_key  = "/etc/pointsav/gateway/tls.key"

[data]
root = "/var/lib/pointsav/data"
```

`name` must match the deployment name registered at `software.pointsav.com`.
`instance` is an integer that distinguishes multiple deployments of the same
named configuration. Place your TLS certificate and private key at the paths
declared under `[gateway]`.

## Step 4: Start the gateway

```shell
sudo -u <process-user> pointsav-gateway \
  --manifest /etc/pointsav/gateway/manifest.toml
```

For production, register this as a systemd service with `Restart=on-failure`.
The gateway logs to stderr; redirect to your preferred log target in the unit
file.

## Step 5: Verify the gateway is healthy

```shell
curl -sk https://localhost/healthz
# expected: {"status":"ok","deployment":"<your-deployment-name>-1"}
```

If the response is `{"status":"licence_error"}`, the licence token has expired
or the `name` field does not match the registered deployment name. Renew the
token at `software.pointsav.com` and restart. If the response is a connection
refusal, confirm the gateway is running and the bind port is open in the host
firewall.

## Step 6: Provision downstream modules

With the gateway healthy, provision the modules relevant to your deployment
pattern — see [[deployment-patterns]] for the catalogue of available
configurations. To add local inference capability, configure the Doorman
service next: see [[configure-doorman]].

## See also

- [[deployment-patterns]] — gateway configuration patterns and deployment topologies
Important Information

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is a trade name of Woodfine Capital Projects Inc. ("Woodfine"). PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. See TRADEMARK.md in this repository for the full trademark notice.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →