Skip to content

Publish a Docker image and docker-compose setup for self-hosting #44

Open

Description

@imshashank

The only documented deployment target is Vercel. Many people who want to self-host a CRM prefer a container on their own server.

Proposal

  • A multi-stage Dockerfile that installs with Bun, builds with Next.js standalone output and runs on Node 22 as a non-root user.
  • A docker-compose.yml with PostgreSQL and an S3-compatible store such as MinIO, plus a one-off migration service using a separate migration role, as described in docs/supabase.md.
  • Demo mode stays off in the image; startup refuses to run without the required secrets.
  • A CI job that builds the image and runs bun run test:deployment against it.

Done when

  • docker compose up gives a working instance with email-code or social sign-in configured from .env.
  • A docs/self-hosting.md guide covers configuration, backups and upgrades.

Activity

  1. added
    help wanted
    ci
    self-hosting
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cihelp wantedself-hosting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions