githubEdit

serverSelf-Host SchemaFX

Run SchemaFX on your own infrastructure.

SchemaFX is a Fastify-based server. Self-hosting means you run that server yourself.

What you’ll deploy

  • A Node.js process that starts SchemaFX.

  • A connector for persistence.

  • A reverse proxy (optional, recommended).

Required configuration

Set these values via environment variables:

  • JWT_SECRET (required)

  • PORT (optional, default 3000)

  • HOST (optional, default 0.0.0.0)

Prerequisites

  • Node.js.

  • A place to store data.

circle-exclamation

Minimal Setup

1

Create a Project

2

Create Your Server Entrypoint

Use the same SchemaFX constructor you use locally. Point your connectors at persistent storage.

Example using the file-based connector:

3

Run it

Last updated