selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

ptah-server logo

Self-host ptah-server

v0.42.11

Fair Source deployment platform alternative to Heroku

BetaSource AvailableOther
Updatedlast year
LanguagePHP
Setup difficultyAdvanced
Stars
228
Requires
PostgreSQL, Redis

What is ptah-server?

Ptah.sh is a self-hosted deployment platform for developers and small businesses as an alternative to Heroku and Vercel. It uses Docker Swarm to manage infrastructure, scaling, and load balancing, handling database setup (PostgreSQL, MongoDB, MySQL), service scaling, automated backups, and SSL via Caddy. Components include a core server, agent for containers, Caddy integration, a GitHub Action for deployments, and a site with 1-Click App templates. Licensed under FSL-1.1-Apache-2.0, the project is archived with development paused. Official support is Ubuntu 24.04 on x86_64 only.

Should you self-host ptah-server?

ptah-server scores 36/100 on selfhost.directory (how scoring works) and ranks #9 of 11 in Deployment. It has 228 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is Other-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is coolify (89/100, 65 112 stars). It scores higher overall, so compare the two before you pick. See ptah-server vs coolify side by side.

Features

  • 1-Click App templates
  • Application Deployment
  • Automated Backups
  • Fair Source licensing
  • Horizontal Scaling
  • Load Balancing
  • SSL auto-provisioning
  • Stateful service management

ptah-server README

How to configure ptah-server

  • APP_DEBUGtrueDebug mode

    Debug mode

  • APP_ENVlocalApplication environment

    Application environment

  • APP_KEYApplication encryption key

    Application encryption key

  • APP_NAMEPtah.shApplication name

    Application name

  • APP_TIMEZONEUTCApplication timezone

    Application timezone

  • APP_URLhttp://localhostApplication URL

    Application URL

  • DB_CONNECTIONpgsqlDatabase connection type

    Database connection type

  • DB_DATABASEptah_serverDatabase name

    Database name

  • DB_HOST127.0.0.1Database host

    Database host

  • DB_PASSWORDDatabase password

    Database password

  • DB_PORT5432Database port

    Database port

  • DB_USERNAMErootDatabase username

    Database username

  • MAIL_HOST127.0.0.1Mail host

    Mail host

  • MAIL_MAILERlogMail mailer

    Mail mailer

  • MAIL_PORT2525Mail port

    Mail port

  • PADDLE_API_KEYPaddle API key

    Paddle API key

  • PADDLE_CLIENT_SIDE_TOKENPaddle client side token

    Paddle client side token

  • PADDLE_SANDBOXfalsePaddle sandbox mode

    Paddle sandbox mode

  • REDIS_HOST127.0.0.1Redis host

    Redis host

  • REDIS_PASSWORDRedis password

    Redis password

  • REDIS_PORT6379Redis port

    Redis port

  • RESEND_KEYResend API key

    Resend API key

ptah-server releases & version history

More in Deployment

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…