Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 855 Bytes

deploy-hostinger.md

File metadata and controls

14 lines (11 loc) · 855 Bytes

Deploy on Hostinger

Leroa runs on any Hostinger VPS using the Docker Manager (Docker Compose) template.

  1. Create a VPS with the Docker OS template (Ubuntu 24.04 with Docker).
  2. Open Docker Manager → Compose → Create project from URL and paste: https://raw.githubusercontent.com/maxffarrell/leroa/main/docker-compose.yml
  3. Set environment variables:
    • BETTER_AUTH_SECRET – output of openssl rand -hex 32
    • POSTGRES_PASSWORD – a separate output of openssl rand -hex 32, kept across upgrades (existing volumes need their existing password)
    • ORIGIN – your public URL, e.g. https://pm.example.com
  4. Deploy. Leroa listens on port 3000; point your domain at the VPS and enable HTTPS from Domains → SSL.

Upgrades: in Docker Manager choose Pull & redeploy. Migrations run automatically on start.