# Application Server Registry

> **Purpose**: Single source of truth for which Sabre applications run on which server.  
> **Last updated**: 2026-03-17

---

## 🌐 VPN / Test Node (100.64.0.1)

**Purpose**: Primary server address for DEV mode testing, mobile app testing (via VPN), and cross-device development bypass.

- **Requirement**: Must be connected to Sabre VPN (Headscale/Tailscale).
- **Usage**: Used by all applications when running in "Test Network" or "DEV" modes.
- **Live Fallback**: For all production traffic, use official domain names (see below).

---

## 🐧 Linux VPS (102.211.30.30 | Tailscale: 100.64.0.8)

All services are containerized via Docker and managed from `/opt/headscale/docker-compose.yml`.  
Caddy handles HTTPS + Let's Encrypt certificate auto-provisioning.

| Application               | Container             | Port                  | Domain                                        | Status            |
| ------------------------- | --------------------- | --------------------- | --------------------------------------------- | ----------------- |
| **SabreIdentity**         | `sabre-identity`      | 9000                  | `identify.sabreproducts.com`                  | ✅ Live           |
| **SabreAccounting**       | `sabre-accounting`    | 9001                  | `accounts.sabreproducts.com`                  | ✅ Live           |
| **SabreMarketing**        | `sabre-marketing`     | 4002                  | `marketing.sabreproducts.com`                 | ✅ Live           |
| **SabreGateway**          | `sabre-gateway`       | 1003                  | `gateway.sabreproducts.com`                   | ✅ Live           |
| **SabreRemote**           | `sabre-remote`        | 1007                  | `remote.sabreproducts.com`                    | ✅ Live           |
| **SabreConnect**          | `sabre-connect`       | 4003                  | `connect.sabreproducts.com`                   | ✅ Live           |
| **SabrePayroll**          | `sabre-payroll`       | 1006                  | `payroll.sabreproducts.com`                   | ✅ Live           |
| **SabreClock**            | `sabre-clock`         | 1005                  | `clock.sabreproducts.com`                     | ✅ Live           |
| **SabreServerManager**    | `sabre-manager`       | 8085                  | `manager.sabreproducts.com`                   | ✅ Live           |
| **SabreVisitor**          | `sabre-visitor`       | 1001                  | `visitor.sabreproducts.com`                   | ✅ Live           |
| **SabreSOS**              | `sabre-sos`           | 1000                  | `sos.sabreproducts.com`                       | ✅ Live           |
| **SabreGuardPatrol**      | `sabre-guardpatrol`   | 1002                  | `guard.sabreproducts.com`                     | ✅ Live           |
| **SabreProductsWebsite**  | `sabre-website`       | 8082                  | `www.sabreproducts.com` / `sabreproducts.com` | ✅ Live           |
| **QED Admin**             | `sabre-qed`           | 8083→82               | `qed.sabreproducts.com`                       | ✅ Live           |
| **Tasmania Website**      | `tasmania-website`    | 8084                  | `tasmanialimited.com`                         | ✅ Live           |
| **Caddy (Reverse Proxy)** | `sabre-caddy`         | 80, 443               | `*.sabreproducts.com`                         | ✅ Infrastructure |
| **Headscale (VPN)**       | `sabre-headscale`     | 3700, 50443, 3478/udp | `headscale.sabreproducts.com`                 | ✅ Infrastructure |
| **Headscale UI**          | `sabre-headscale-ui`  | 8443                  | —                                             | ✅ Infrastructure |
| **RustDesk ID Server**    | `sabre-rustdesk-hbbs` | 21115-21116, 21118    | —                                             | ✅ Infrastructure |
| **RustDesk Relay**        | `sabre-rustdesk-hbbr` | 21117, 21119          | —                                             | ✅ Infrastructure |

---

## 🪟 Windows VPS (26.238.158.192 | Tailscale: 100.64.0.3)

Runs services that **require Windows components** (e.g., biometric hardware, Windows desktop integration).

### Permanent Windows Services (staying on Windows)

| Application                        | Windows Service                        | Port       | Reason                                                                          |
| ---------------------------------- | -------------------------------------- | ---------- | ------------------------------------------------------------------------------- |
| **SabreCloud (Time & Attendance)** | `SabreCloudAdmin`, `SabreCloudReports` | 8000, 8084 | Biometric integration (bio-server, bio-apache, bio-pgsql, bio-redis, bio-proxy) |
| **Sabre Router**                   | `Sabre Router`                         | —          | Windows networking component                                                    |

### Legacy Services (still running, candidates for shutdown)

These services are still active on the Windows VPS but have been **migrated to Linux** or are no longer needed:

| Application                   | Windows Service                                                  | Migrated To                | Action Needed                 |
| ----------------------------- | ---------------------------------------------------------------- | -------------------------- | ----------------------------- |
| **SabreProductsWebsite**      | `SabreProductsWebsite`                                           | ✅ Linux (`sabre-website`) | ⏳ Shut down Windows service  |
| **SabreGuardPatrol**          | `SabreGuardPatrol`                                               | ✅ Linux (`sabre-guardpatrol`) | ⏳ Shut down Windows service  |
| **SabreLicenseGenerator**     | `SabreLicenseGenerator`                                          | ❌ Not yet migrated        | Evaluate                      |
| **SabrePanicResponse (SOS)**  | `SabrePanicResponse`                                             | ✅ Linux (`sabre-sos`)         | ⏳ Shut down Windows service  |
| **SabreShopifyToolkit**       | `SabreShopifyToolkit`                                            | ❌ Not yet migrated        | Evaluate                      |
| **IPTVPayments**              | `IPTVPayments`                                                   | ❌ Not yet migrated        | Migrate to Linux              |
| **JokersWild**                | `JokersWild`                                                     | ❌ Not yet migrated        | Evaluate                      |
| **CelBuxPOS**                 | `CelBuxPOS`                                                      | ❌ Not yet migrated        | Evaluate                      |
| **QED Admin/Agent/Collector** | `QED Admin`, `QED Agent`, `QED Collector`, `QED Service Monitor` | ✅ Linux (`sabre-qed`)     | ⏳ Shut down Windows services |

### Other Infrastructure on Windows

| Service                                    | Purpose                                 |
| ------------------------------------------ | --------------------------------------- |
| **MySQL80**                                | MySQL database used by some legacy apps |
| **AnyDesk / RustDesk / Radmin / TightVNC** | Remote access tools                     |
| **Tailscale**                              | VPN overlay network                     |
| **FortiClient VPN**                        | VPN service                             |

---

## 🎯 Migration Target State

**Goal**: Only **SabreCloud** and **Sabre Router** remain on Windows. Everything else on Linux.

### Still to Migrate to Linux

| Application                  | Priority  | Notes                         |
| ---------------------------- | --------- | ----------------------------- |
| **SabreGuardPatrol**         | 🟡 Medium | Node.js app — straightforward |
| **SabrePanicResponse (SOS)** | 🟡 Medium | Node.js app — straightforward |
| **IPTVPayments**             | 🟡 Medium | Node.js app — straightforward |
| **SabreLicenseGenerator**    | 🟠 Low    | Evaluate if still needed      |
| **SabreShopifyToolkit**      | 🟠 Low    | Evaluate if still needed      |
| **JokersWild**               | 🟠 Low    | Evaluate if still needed      |
| **CelBuxPOS**                | 🟠 Low    | Evaluate if still needed      |

### Windows Services to Shut Down (already migrated)

| Service                             | Reason                                  |
| ----------------------------------- | --------------------------------------- |
| `SabreProductsWebsite`              | Now running on Linux as `sabre-website` |
| `QED Admin/Agent/Collector/Monitor` | Now running on Linux as `sabre-qed`     |

---

_This file is the single source of truth for server application assignments._
