Skip to main content

Deployment

SPN uses Docker Compose with Caddy for production deployment.

Architecture

Prerequisites

  • Docker & Docker Compose
  • Domain name (for SSL)
  • Server with 2GB+ RAM

Quick Deploy

Manual Deployment

1. Build and Start

2. Run Migrations

3. Verify

Environment Variables

Configure in .env:

Services

SSL

Caddy automatically provisions Let’s Encrypt SSL.

Troubleshooting

View logs

Restart services

Database issues