Infrastructure
InsightSpace is a container-ready application with a React frontend, ASP.NET Core backend, PostgreSQL with pgvector, S3-compatible object storage, a standalone document extractor, and configurable AI providers.
Available deployment shapes
Section titled “Available deployment shapes”Single-host stack
Section titled “Single-host stack”The main Compose file runs the application and supporting services on one host. It is suitable for evaluation and controlled single-node installations where the host can provide the required CPU, memory, storage, and—when used—GPU resources.
Modular single-host stack
Section titled “Modular single-host stack”The repository also contains a modular Compose topology. The application core is always present; Garage, Caddy, Ollama, and the extractor are selectable profiles. This makes it possible to replace individual local components with managed or externally hosted services.
Decide what runs locally
Section titled “Decide what runs locally”| Capability | Local option | External option |
|---|---|---|
| Database | PostgreSQL with pgvector | Compatible managed PostgreSQL |
| Object storage | Garage | AWS S3 or another compatible provider |
| Ingress and TLS | Caddy | Existing reverse proxy or ingress |
| Chat, embedding, reranking | Ollama | Configured provider service |
| Document extraction | Containerized extractor | Extractor on a separate compute host |
The frontend and backend remain part of the application core. PostgreSQL is required. Object storage is also required for uploaded documents and extraction artifacts.
Before you install
Section titled “Before you install”Complete the installation prerequisites with the client before scheduling an installation. This confirms:
- separate web application and API hostnames;
- public, internal, or VPN access and the corresponding HTTPS certificate approach;
- an SMTP account for onboarding, account, and notification email;
- application and GPU inference hardware;
- administrative access, firewall rules, and outbound connectivity; and
- ownership of backups, monitoring, retention, and recovery.
Secrets are provided through files. Do not place secret values directly in Compose environment variables or commit them to source control.
Next steps
Section titled “Next steps”- Complete the installation prerequisites.
- Review the architecture.
- Map the components to your infrastructure.
- Prepare the configuration.
- Use the release-specific installation and upgrade procedure supplied for your deployment.