AIaaS (AI as a Service) — create AI projects and consume them via a simple REST API.
10K+
AIaaS (AI as a Service) — create AI projects and consume them via a simple REST API. Self-hosted, multi-tenant, batteries-included.
Project types: RAG (with optional NL→SQL), Agents (LLM + MCP tools), Block (visual logic builder), and direct Inference. Ships with a full React admin UI, token/cost/latency analytics, teams + RBAC, OAuth/LDAP/TOTP, evaluation framework, embeddable chat widget, WordPress plugin, and a built-in MCP server.
docker run -p 9000:9000 apocas/restai:latest
Then open http://localhost:9000/admin and log in with admin / admin.
Pin a release in production and pass an env file with your config:
docker run -d --name restai -p 9000:9000 \
--env-file .env \
-v restai-data:/app/data \
apocas/restai:6.2.13
| Tag | What it is |
|---|---|
latest | Latest stable release |
6.2.13, 6.2, 6 | Semver-pinned releases (major / minor / patch) |
Built for linux/amd64 and linux/arm64 (Apple Silicon, AWS Graviton, Raspberry Pi 5).
Mirror on GitHub Container Registry: ghcr.io/apocas/restai.
Configuration is via environment variables — pass them with -e KEY=value or an --env-file. Common ones:
| Variable | Description |
|---|---|
RESTAI_DEFAULT_PASSWORD | Initial admin password (default admin) |
POSTGRES_HOST / MYSQL_HOST | Use Postgres / MySQL instead of bundled SQLite |
CHROMADB_HOST / CHROMADB_PORT | Remote ChromaDB for vector storage |
RESTAI_URL | Public URL (used for OAuth redirects, image links, webhooks) |
Most other settings (proxy, SSO, Docker sandbox, system LLM, branding, 2FA enforcement) are managed from the admin UI at runtime — no restart needed.
Mount a volume on /app/data to persist the SQLite database, prompt versions, audit logs, and uploaded files across container restarts:
-v restai-data:/app/data
For multi-replica deployments, point at external Postgres + Redis + ChromaDB and the container itself becomes stateless.
For a stack with Redis / Postgres / MySQL profiles, see the docker-compose.yml in the source repo.
A Helm chart is provided in chart/restai/. The image runs as UID 1000 and migrates the database on startup, so you can scale replicas freely once Postgres is wired up.
demo / demodemo)Apache 2.0. Built by Pedro Dias.
Content type
Image
Digest
sha256:dbea7ced9…
Size
3.8 GB
Last updated
4 months ago
docker pull apocas/restai