Skip to main content
Run your own ogis instance for full control over your image generation.

One-Click Deploy

Deploy on Railway

One-click deploy to Railway

Deploy to Google Cloud

Deploy to Google Cloud Run

Docker

The recommended way to run ogis:
With environment variables:

Docker Compose

For development or simple deployments:

Building from Source

Requirements: Rust 1.70+

Configuration

Configure ogis via environment variables (prefixed with OGIS_) or CLI arguments.

Server Options

Image Generation

Caching

Security

Image Fetching

Run ogis --help for the complete list of options.

Health Checks

ogis exposes a health endpoint for container orchestration:
Returns 200 OK when the service is ready.

Reverse Proxy

Kubernetes

Using Your Instance

Point the SDK to your self-hosted instance:
For private instances, see Authentication.