Skip to content
shipkeepdevPublic

About

Self-hosted PaaS: your own cloud on your own servers

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

327 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shipkeep: your servers, your keys. The open source PaaS that deploys to your machines, without a root key in a panel.

Website · Product brief · Architecture · Roadmap · Contributing · Discussions

License: Apache-2.0 Status: in development CI Written in TypeScript and Go Sponsor

Shipkeep

Your own cloud on your own servers, without leaving the root key in a web panel.

Shipkeep is a self-hosted platform to deploy applications, databases and services on servers you own: git push to deploy, automatic HTTPS, managed databases with backups, preview environments, logs, metrics and alerts, without Kubernetes.

Note

Shipkeep is in development. A prerelease, v0.1.0-alpha.3, can be installed to try it, on servers you can afford to lose: it has run end to end on one test machine, not yet on a real server. What works today says where it stands, and the installation procedure says what was tested. It is built in the open under Apache-2.0, and contributions are welcome.

Why Shipkeep

Secure by design No SSH root key on the control plane, and no shell command built from strings. An agent on each server calls out over mTLS and runs a closed list of typed actions.
Config in your repo Each application is described by a versioned shipkeep.yml. The UI writes to that file instead of hiding state.
Real multi-node Placement, health-based failover, a private WireGuard network and replicated routing, without Kubernetes.
Safe by default Snapshots before upgrades, resumable operations, and explicit confirmation for anything destructive.

Shipkeep's web UI: the applications list, then a first deployment of an nginx application followed step by step until it is live, then the servers page with one ready server and its metrics.
A first deployment in the web UI, recorded on 21 November 2026 from main, not released yet, on a test lab of two Ubuntu 24.04 containers: one runs the control plane, the other is the server, enrolled with the installer. Everything shown is real: one server, a real image pulled and started, and the server's CPU, memory, disk and network as its agent measured them. The wait during the deployment plays 10 times faster.

How it works

flowchart LR
  you["You: web UI, CLI, git push"] --> cp["Control plane"]
  a1["Agent, server A"] -- "outbound mTLS" --> cp
  a2["Agent, server B"] -- "outbound mTLS" --> cp
  a1 --> w1["Docker and Caddy"]
  a2 --> w2["Docker and Caddy"]
Loading

Agents connect out to the control plane, so it never needs a key to your servers. Running applications and routing keep working if the control plane goes down.

Describe an application in a file:

# shipkeep.yml
version: 1
name: storefront
build:
  type: image
  image: nginx:1.27
run:
  port: 80

Then deploy it with the CLI. The API token is read from a prompt or a pipe, never from a flag:

shipkeep login --url https://shipkeep.example.com
shipkeep deploy --org <id> --project <id> --env <id>
shipkeep status --org <id> --project <id> --env <id>

What works today

Area State
Accounts, two-factor authentication, API tokens, roles, audit log Built, tested against a real database and browser
Web UI: organizations, members, servers, applications, deployments, secrets, audit Built, tested in a real browser, except removing a server and following a deployment to its end
CLI: login, init, deploy, rollback, status, secrets, server remove Built, tested against the real API
Agent, deployment pipeline, rollback, routing through Caddy Run end to end in containers on one machine: deployments, a rollback and a restart of the server's container succeed. Not yet run on a real server
Installation: control plane with Docker Compose, servers with one command Run end to end with the published prerelease on one machine, see the installation procedure. Not yet on a real server or with a public certificate
Control plane installer (questions for the DNS name and the first account, email optional, then one run) Run from the published prerelease on a test machine. Not yet with a public certificate
One machine for the control plane and the applications On main, not released yet: installed and used end to end in a fresh test container, with deployments and a restart of that container. Not yet on a real server
Compose applications Validator built, not connected yet
Git providers, builds, WireGuard network, failover, managed databases, backups, logs and metrics, previews Planned, see the roadmap

Continuous integration runs on every pull request: lint, unit, integration and browser tests, plus security scanners.

Help wanted

Shipkeep is young, and a few people make a real difference now. What helps most:

  • Install it on a server you can afford to lose, and tell us what breaks. Real servers on real providers are what the project has seen least. Follow the installation procedure, then open a bug with what you ran and what you saw.
  • Start with a small issue. Issues labelled good first issue are self-contained and say where to look.
  • Take on a larger piece. The agent is written in Go, the control plane in TypeScript with NestJS, the web UI in Angular. Open work includes the server detail page and the deployment detail page with its full log on the web side, and metrics and log shipping across the agent and the control plane. Issues labelled help wanted are the pieces where help is most needed. Comment on the issue first, so that we agree on the approach before you write code.
  • Challenge the security model. Read the threat model and tell us where it is wrong. Report vulnerabilities privately, as SECURITY.md explains.
  • Ask, suggest and discuss in Discussions: ideas, questions and use cases are welcome.

If Shipkeep looks useful to you, a star helps other people who run their own servers find it.

Run Shipkeep locally

You need:

  • Node.js 22, version 22.22.3 or newer (.nvmrc), and pnpm 11. Corepack, included with Node.js, installs the right pnpm version.
  • Docker with Compose v2, for PostgreSQL and the other local services.

Then follow these steps:

  1. Get the code.

    git clone https://github.com/shipkeepdev/shipkeep.git
    cd shipkeep
  2. Install the dependencies.

    corepack enable
    pnpm install
  3. Create your configuration file. It is required, and the values in it work as they are for local development.

    cp .env.example .env
  4. Start Shipkeep, and leave this terminal open. The first run downloads the Docker images and takes a few minutes.

    pnpm dev

    This starts the local services in Docker, applies the database migrations, then starts the API, the web UI with hot reload and a local mail server.

  5. Create your account. Open http://localhost:4200/auth/register and sign up. The verification email appears in the terminal running pnpm dev; nothing is really sent. Open its link, paste the code and enter your password.

  6. Create your first organization when the web UI asks for one. You can then add projects, applications and servers.

To stop, press Ctrl+C, then run pnpm dev:infra:down. Your data is kept. pnpm dev:infra:reset also deletes it.

Service Address
Web UI http://localhost:4200
API health http://localhost:3000/api/v1/health
API docs http://localhost:3000/api/v1/docs
Agent (TLS) port 7443

If something goes wrong:

  • The datasource.url property is required: the .env file is missing (step 3).
  • decryption failed at startup: deploy/dev/secrets/kek no longer matches the database. Run pnpm dev:infra:reset, which deletes your local data, then pnpm dev.
  • Service Unavailable when signing up, or no email in the terminal: check that .env has the SMTP_* lines from .env.example, then restart pnpm dev.
  • A Docker service port is already taken: set the matching SHIPKEEP_DEV_*_PORT in .env. For PostgreSQL, also change the port in both database URLs.
  • Port 3000 or 4200 is already taken: stop the program using it. The web UI and its proxy to the API expect these two ports.
  • Port 1465 is already taken: change SMTP_PORT in .env.
  • Cannot connect to the Docker daemon: start Docker, then run pnpm dev again.

To send real emails instead, change the SMTP_* lines in .env. To connect an agent, see Run an agent.

Contribute

  1. Pick an issue. The good first issue label is the best place to start. Comment on the issue to say you are working on it.

  2. Fork the repository on GitHub, then clone your fork and add this repository as upstream:

    git clone https://github.com/<your-username>/shipkeep.git
    cd shipkeep
    git remote add upstream https://github.com/shipkeepdev/shipkeep.git
  3. Set up the project. Run corepack enable and pnpm install, then install gitleaks, which the commit hook needs. To run the application, also follow steps 3 to 6 above. Unit tests don't need Docker.

  4. Create a branch from the latest main:

    git fetch upstream
    git switch -c fix/123-short-name upstream/main
  5. Make your change and add tests. Read the rules every change must respect first.

  6. Run the checks:

    pnpm lint
    pnpm test

    If you changed Go code, also run go test ./agent/... ./cli/... ./lib/... and golangci-lint run ./agent/... ./cli/... ./lib/....

  7. Commit with a sign-off. The -s flag is required, and the message follows Conventional Commits:

    git commit -s -m "fix(web): describe your change"
  8. Push and open a pull request against main. Fill in the template and add Closes #123.

    git push -u origin fix/123-short-name
  9. Wait for the checks and a review. Once both pass, a maintainer squash-merges your pull request.

CONTRIBUTING.md has the full rules, all the commands and the test setup.

Documentation

About

Self-hosted PaaS: your own cloud on your own servers

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages