Your infrastructure.
Your rules.
Palace Server ships as a Docker image and a static binary. No cloud dependency, no telemetry, and standard Postgres underneath.
Docker Compose
or one binary.
- Single binary plus Postgres. Bring your own database or use the Docker Compose starter kit.
- Public Docker image and starter-kit zip included.
- Runs on Linux (x86_64 and ARM64) and macOS (Apple Silicon).
- Data persists in PostgreSQL with pgvector, so standard backups work.
- Configured by environment variables. Migrations run automatically on startup.
curl -fsSLO https://github.com/AncientiCe/public-server-dist/releases/latest/download/palace-server-starter-kit.zip
unzip palace-server-starter-kit.zip && cd starter-kit
cp .env.example .env && $EDITOR .env # license key + 2 generated secrets
docker compose up -d # palace-server + postgres on :8080Pick your setup.
Ready-to-run recipes from the palace-server-examples ↗ repository. You run it, you own the data, and you pay your cloud provider directly.
| Setup | Best for | Infra cost from | Guide |
|---|---|---|---|
| Docker Compose on one machine | Trials, teams up to about 25 | $12/month (any 2 GB VM) | Docker Compose guide |
| DigitalOcean (Terraform) | Small teams on DigitalOcean; Postgres on the droplet or managed | $14.40/month ($29.55 with managed Postgres) | DigitalOcean guide |
| AWS (Terraform, ECS Fargate + RDS) | Teams on AWS, managed containers and database | $112.74/month (us-east-1) | AWS guide |
| Google Cloud (Terraform, Cloud Run + Cloud SQL) | Teams on GCP, managed containers and database | $225.59/month (us-central1) | Google Cloud guide |
| Azure (Terraform, Container Apps + PostgreSQL Flexible Server) | Microsoft shops, often with Entra ID for SSO | $76.53/month (East US, idle-rate billing; see guide) | Azure guide |
| Kubernetes (Helm) | Teams already on EKS, GKE, AKS, DOKS or k3s | Your cluster | Kubernetes guide |
| Kubernetes (plain kubectl) | The same, as plain YAML for kubectl apply -k, or for GitOps later | Your cluster | Kubernetes (kubectl) guide |
| Air-gapped (no internet) | Restricted networks, annual licenses | Your machine | Air-gapped guide |
| Linux without Docker (systemd) | Servers where Docker isn't allowed | $12/month (any 2 GB VM) | Linux (systemd) guide |
Prices checked 2026-11-29, USD before tax. The Palace license is billed separately: see pricing.
Every setup includes
- HTTPS, with automatic certificates (or your own certificate when air-gapped).
- Palace Server as a non-root user. Where the platform allows it, also with a read-only filesystem and no Linux capabilities (Cloud Run and Azure Container Apps have no setting for those).
- PostgreSQL with pgvector, reachable only by Palace. Palace connects as a role that cannot bypass row-level security.
/metricsand/bootstrapblocked from outside.- Upgrade, backup and restore steps.
Running something different?
Nomad, Hetzner, OpenShift, another IaC tool? Request a setup ↗. Never paste license keys, passwords, tokens or database URLs in an issue.
Built for security review.
Palace Server is designed for engineering teams that cannot let agent memory become another uncontrolled cloud data store. The deployment stays in your network, embeddings run locally, and licenses verify cryptographically on the server.
Procurement-friendly ownership
Paid tiers use flat team pricing, signed license keys, and standard infrastructure primitives: Postgres with pgvector, environment-variable configuration, Docker or a static binary, and backups you already understand.
Deployment fit
- Air-gapped or restricted networks.
- Teams avoiding cloud-hosted engineering memory.
- Internal platform teams standardizing MCP tools.
- Security reviews that require local embeddings.
When something does not start.
License key invalid or expired
Confirm PALACE_LICENSE_KEY is set with no surrounding quotes or whitespace. Keys are Ed25519-signed and verified on startup; an “expired” error means the embedded expiry has passed. Check your subscription in the billing portal, which re-issues a fresh key.
Database connection fails
Verify DATABASE_URL points at a reachable Postgres with the pgvector extension available. Use only ASCII characters in the password, and make sure the database accepts connections from the server’s host.
Port 8080 already in use
Another process is bound to :8080. Stop it, or override the bind address with PALACE_SERVER_BIND for the binary, or remap the published port in your docker-compose.yml.
Migrations fail on startup
Migrations run automatically and are forward-only. If startup fails mid-migration, check that the database user owns the schema and has permission to create tables and extensions.
ARM and Apple Silicon
The Docker image and binary support ARM64. On Apple Silicon, make sure Docker pulls the matching architecture and that your Postgres image is also ARM-compatible.
Still stuck? See troubleshooting or reach us through the contact form.
Give your next session
a head start.
60 days · 10 seats · No credit card