Self-hosted POS server: install and operate

Run the StillDeep POS engine on your own network, as a VM or Installed: server components, registers, ports, configuration, secrets and health checks.

On the business server

Component Role Reach
PostgreSQL 19 Database, single source of truth Server only
Server.Service gRPC gateway of the registers, proxy, hub Local network
Admin Configuration web app Local network
Report Reports web app Local network, optionally Internet
Assistant service (optional) AI assistant module Server or a GPU machine

PostgreSQL 19 is the minimum version. Services connect with dedicated database users, never the superuser, and registers never connect to the database at all.

On each register

One native program with the screen, the register engine and the local SQLite copy. Registers that drive Windows hardware (thermal printers, cash drawers) can link the libraries in-process.

Two forms: VM or Installed

In both forms, StillDeep runs at the customer's site, on their network.

  • VM: a virtual machine with StillDeep already installed and its configuration prepared in advance. The customer starts it on site and sells.
  • Installed: StillDeep is installed on the customer's own machines, with full control. Waxime Studio or a reseller handles the setup.

The components, ports and rules on this page apply to both forms. Both forms are also described on the Pricing page.

Ports and protocols

From To Protocol Port
Screen Intelligence (on the register) gRPC HTTP/2 localhost:50051
Intelligence Communication (on the register) local pipe pipe or socket
Communication Server.Service gRPC HTTP/2, both ways 50053
Admin, assistant node, NetworkProxy Server.Service hub gRPC, node key proven 50053
Server.Service assistant node gRPC, hub key proven 50056-50057
Server.Service, Admin, Reports ServerDB PostgreSQL, dedicated users 5432
Browser Admin HTTPS, local network 5118
Browser, tablet Reports HTTPS, Internet optional 5006
Card terminal Processor direct TLS (P2PE) 443
Server services Registry, weather, email HTTPS, SMTP, through the NetworkProxy if any 443, 465, 587

Registers never reach ServerDB; no card number crosses the business network.

Outside development, the Admin and Reports serve HTTPS with your certificate and refuse plain HTTP. In development, they serve http on the loopback address, on the same ports 5118 and 5006, and https on 7260 and 7288 depending on the launch profile.

Configuration

StillDeep follows the twelve-factor rules:

  • Configuration by environment variables, never connection strings in configuration files. Secrets are kept encrypted and injected at startup; without them, the Admin opens its setup page.
  • Logs on standard output, with OpenTelemetry for metrics and traces.
  • A /healthz health check on every service.
  • Graceful shutdown on SIGTERM or Ctrl+C.

Time zones and time

PostgreSQL provides the time zone rules: keep it up to date. When it falls behind the known rules, the Admin dashboard says so, with the affected zone and what to do. Sales continue on the database's time.

  • Windows server: install the latest minor version of PostgreSQL.
  • Linux server: update the tzdata package or PostgreSQL, then restart PostgreSQL.

The server's zone is set on the Company page, and the zone of a register or kiosk on the register's record. An identified register whose machine is not set to this zone refuses to open and says what to do; the comparison checks the offsets over 12 months, so a machine with outdated rules is refused too. The register keeps the expected zone so it can open offline.

Operating systems

Every service runs natively on Windows, Linux and macOS.

Updates and offline registers

A register always drains its outbox before an update, so no sale is lost. With the Offline module, registers keep selling while the server is updated, and catch up when it comes back.

Outages

  • PostgreSQL stopped. Server.Service stays alive and tells the registers its database is missing: with the Offline module, they switch to their local copy and reconnect on their own. No service stops because of a database outage.
  • Starting without a database. Server.Service and Reports wait for the database before listening: they never run without their extensions. The Admin opens and loads them when the database returns. A systemd unit of Type=notify must carry TimeoutStartSec=infinity so that systemd treats this wait as a long start instead of a failure.
  • Given-up messages. A message the server refuses for good appears in the Admin, on the Given up page. Check it along with the To review queue.
  • Sale email. The queue is durable and resumes after an outage. A server killed right after sending can send two identical copies, never two different tickets.

Backups

The business server holds all the data; registers only hold a copy and their outbox. Every day, StillDeep:

  • restores the database into a throwaway PostgreSQL and compares every table, to check the backup;
  • compresses and encrypts it, photos included, with a key that is not on the server;
  • copies it and reads it back at each chosen destination: a shared folder on another computer, an S3-compatible cloud storage or another disk;
  • warns by email and on the Admin home page when something fails.

The Backups page of the Admin shows the history: date, verification, contents and path of every copy. The key downloads from your account, under My servers, and the security tool restores the backup on the same server or on another one.