---
title: "Deploy Openfront Law Firm"
description: "Opensource Clio alternative based on Next.js and Keystone.js"
category: "Starters"
url: https://railway.com/deploy/openfront-law-firm
---

# Deploy Openfront Law Firm

Opensource Clio alternative based on Next.js and Keystone.js

**[Deploy Openfront Law Firm on Railway](https://railway.com/template/openfront-law-firm)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/openfront-law-firm/manifest.json

- **Creator:** Openship
- **Category:** Starters

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### openfront-law-firm

- **Source:** https://github.com/openshiporg/openfront-law-firm
- **Start command:** `npm run start -- -p $PORT`
- **Public domain:** Yes

## Buckets

- **Storage**

## Documentation

# Deploy and Host Openfront Law Firm with Railway

Openfront Law Firm is a self-hostable legal practice and client-collaboration application. Visitors can explore practice areas and attorneys or request consultations. Firm teams manage intake, conflicts, matters, deadlines, documents, communication, time, expenses, billing, trust records, and scoped client sharing.

## About Hosting Openfront Law Firm

This template provisions the application from [its GitHub repository](https://github.com/openshiporg/openfront-law-firm), PostgreSQL, and a private native Railway Bucket named `Storage`. The database starts empty; no demo records or reusable credentials are included. Initialize the application using the repository's onboarding instructions after deployment.

`DATABASE_URL` references Postgres and the five `S3_*` variables reference the Storage bucket. Generated per deployment: `SESSION_SECRET`.

The app gets a Railway-generated public domain. No custom domains are included.

### Admin Dashboard
Manage accounting, branding, portal, time expenses, today, contacts, intake, integrations, team, ai, work, governance through dedicated dashboard workspaces and permission-controlled data screens.

### Storefront
Public routes include `/practice-areas`, `/attorneys`, `/consultation`, and customer accounts. The `/portal` and `/portal/share/[shareId]` surfaces provide explicitly granted client collaboration.

### Intake, Conflicts & Matters
Capture intake, track parties, run and resolve conflict reviews, organize matters and teams, and manage ethical walls, calendaring, dockets, and tasks.

### Documents & Client Collaboration
Maintain document versions, communication workflows, portal grants, invitations, and resource-specific client shares.

### Billing, Trust & Governance
Record time, expenses, invoices, retainer workflows, trust transactions, reconciliation, retention, and controlled agent actions. Ledger records do not imply bank movement, legal advice, or professional compliance certification.

## Common Use Cases

- Intake, Conflicts & Matters
- Documents & Client Collaboration
- Billing, Trust & Governance

## Dependencies for Openfront Law Firm Hosting

The app needs a PostgreSQL database and S3-compatible object storage. Both are provisioned by this template.

### Deployment Dependencies

- [openfront-law-firm on GitHub](https://github.com/openshiporg/openfront-law-firm)
- [Full README and onboarding instructions](https://github.com/openshiporg/openfront-law-firm#readme)
- [Railway Buckets](https://docs.railway.com/guides/storage-buckets)

### Implementation Details

Next.js and Keystone 6 with a GraphQL API, Prisma, and PostgreSQL. Payments, email, and other external providers need their own operator configuration; this template does not activate them.

## Why Deploy Openfront Law Firm on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Openfront Law Firm on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/openfront-law-firm
