Skip to manual
gluon

CLI reference

gluon serve

Run the API server.

Model author or developer

Usage

Run it as gluon serve (in the repository, cargo run -p gluon-cli -- serve).

Console / text
Run the API server

Usage: gluon serve [OPTIONS]

Options:
      --host <HOST>  Bind address (uvicorn's default); containers pass 0.0.0.0 [default: 127.0.0.1]
      --port <PORT>  [default: 8410]
      --reload
  -h, --help         Print help

What it reads and writes

It starts the API on port 8410, or the port you give with --port, and runs until you stop it. Settings come from the GLUON_* environment variables. --reload restarts the server when a file under src/ changes, for local development.

The options for gluon serve.
The options for gluon serve.