Self-Hosting

PushTower is fully self-hostable. Run the entire stack on your own infrastructure for complete control over your data.

Requirements

Quick Start

git clone https://github.com/AndreasGassmann/pushtower.git
cd pushtower
cp .env.example .env
# Edit .env with your APNs credentials
docker compose up -d

Configuration

Key environment variables:

VariableDescription
APNS_KEY_IDYour APNs Key ID
APNS_TEAM_IDYour Apple Team ID
APNS_KEY_PATHPath to your .p8 key file
DATABASE_URLPostgreSQL connection string
JWT_SECRETSecret for signing auth tokens
ENCRYPTION_KEYKey for E2E encryption

Architecture

The self-hosted stack includes:

Updating

git pull
docker compose build
docker compose up -d