···52525353## Getting Started
54545555+### One-Click Deployment with drim
5656+5757+For straightforward deployments, use [drim](https://github.com/usekaneo/drim) - a CLI tool that handles everything for you:
5858+5959+```bash
6060+curl -fsSL https://assets.kaneo.app/install.sh | sh
6161+drim setup
6262+```
6363+6464+That's it. Your Kaneo instance will be running with automatic HTTPS, database setup, and all services configured.
6565+6666+Perfect for quick deployments and production setups where you want things to just work.
6767+5568### Quick Start with Docker Compose
56695770The fastest way to try Kaneo is with Docker Compose. This sets up the API, web interface, and PostgreSQL database:
-1
apps/docs/content/docs/api/index.mdx
···11---
22title: API Reference
33description: Complete API reference for Kaneo
44-icon: Terminal
54---
6576import { Card, Cards } from 'fumadocs-ui/components/card';
···18181919### Installation
20202121-The installation process is straightforward, we have a Docker Compose file that will start the required services.
2121+We offer two ways to install Kaneo:
2222+2323+**Quick Setup with drim (Recommended)**
2424+2525+For straightforward deployments, use [drim](/docs/core/installation/drim) - a CLI tool that handles everything automatically:
2626+2727+```bash
2828+curl -fsSL https://assets.kaneo.app/install.sh | sh
2929+drim setup
3030+```
3131+3232+**Manual Setup with Docker Compose**
22332323-It is part of a three part installation process.
3434+For more control or complex setups, follow the manual installation process:
24352536- [Setting up the Docker compose file](/docs/core/installation/docker-compose)
2637- [Setting up the environment variables](/docs/core/installation/environment-variables)
···11+---
22+title: Deploy with drim CLI
33+description: One-click deployment tool for self-hosted Kaneo instances
44+---
55+66+## What is drim?
77+88+[drim](https://github.com/usekaneo/drim) is a CLI tool for deploying your Kaneo instances. It's designed for fairly straightforward setups where you want to get Kaneo up and running quickly without manual configuration.
99+1010+drim handles:
1111+- Docker Compose file generation
1212+- Environment variable setup
1313+- Automatic HTTPS with Caddy
1414+- Service management (start, stop, restart)
1515+- Updates and upgrades
1616+1717+## Installation
1818+1919+Install drim with a single command:
2020+2121+```bash
2222+curl -fsSL https://assets.kaneo.app/install.sh | sh
2323+```
2424+2525+Or download the binary manually from [releases](https://github.com/usekaneo/drim/releases/latest).
2626+2727+## Quick Start
2828+2929+### Local Development
3030+3131+For local development without a domain:
3232+3333+```bash
3434+drim setup
3535+# Press Enter when prompted for domain
3636+# Access at http://localhost
3737+```
3838+3939+### Production Deployment
4040+4141+For production with automatic HTTPS:
4242+4343+```bash
4444+drim setup
4545+# Enter your domain when prompted (e.g., kaneo.example.com)
4646+# Access at https://your-domain.com
4747+```
4848+4949+<Callout type="info">
5050+Make sure your domain's DNS A record points to your server before running setup.
5151+</Callout>
5252+5353+## Commands
5454+5555+drim provides several commands to manage your Kaneo instance:
5656+5757+```bash
5858+drim setup # Deploy Kaneo
5959+drim start # Start services
6060+drim stop # Stop services
6161+drim restart # Restart services
6262+drim upgrade # Update Kaneo to latest version
6363+drim update # Update drim CLI to latest version
6464+drim configure # Edit configuration
6565+drim uninstall # Remove Kaneo
6666+```
6767+6868+## What Gets Installed
6969+7070+When you run `drim setup`, the following services are deployed:
7171+7272+- **PostgreSQL 16** - Database
7373+- **Kaneo API** - Backend service
7474+- **Kaneo Web** - Frontend interface
7575+- **Caddy** - Reverse proxy with automatic HTTPS
7676+7777+All services run in Docker containers with proper networking and health checks.
7878+7979+## Configuration
8080+8181+To edit environment variables after setup:
8282+8383+```bash
8484+drim configure
8585+```
8686+8787+This opens `.env` in your default editor. After saving, services are restarted automatically.
8888+8989+See the [environment variables documentation](/docs/core/installation/environment-variables) for available options.
9090+9191+## Requirements
9292+9393+- Docker 20.10+
9494+- Docker Compose V2
9595+- 2GB RAM minimum
9696+- 10GB disk space
9797+9898+**Supported Platforms:** Linux, macOS, Windows (WSL)
9999+100100+<Callout type="info">
101101+drim will attempt to install Docker automatically on supported Linux distributions.
102102+</Callout>
103103+104104+## When to Use drim
105105+106106+drim is ideal for:
107107+108108+- Quick local development setups
109109+- Simple production deployments with a single domain
110110+- Teams that want automatic HTTPS without manual configuration
111111+- Anyone who wants to get Kaneo running with minimal effort
112112+113113+For more complex setups (multiple domains, custom networking, Kubernetes, etc.), see the [manual Docker Compose installation](/docs/core/installation/docker-compose).
···11+---
22+title: Installation Overview
33+description: Choose how to install Kaneo - quick setup with drim or manual Docker Compose
44+---
55+66+## Choose Your Installation Method
77+88+Kaneo offers two installation methods depending on your needs:
99+1010+### Quick Setup with drim (Recommended)
1111+1212+[drim](/docs/core/installation/drim) is a CLI tool designed for straightforward Kaneo deployments. It's perfect for:
1313+1414+- Getting started quickly with minimal configuration
1515+- Local development environments
1616+- Simple production deployments with a single domain
1717+- Automatic HTTPS setup
1818+1919+```bash
2020+curl -fsSL https://assets.kaneo.app/install.sh | sh
2121+drim setup
2222+```
2323+2424+### Manual Setup with Docker Compose
2525+2626+For more control over your deployment or complex setups, use the manual installation process:
2727+2828+1. [Create the Docker Compose file](/docs/core/installation/docker-compose)
2929+2. [Configure environment variables](/docs/core/installation/environment-variables)
3030+3. [Start the services](/docs/core/installation/start-services)
3131+3232+This method is ideal for:
3333+- Custom networking configurations
3434+- Multiple domains or complex reverse proxy setups
3535+- Integration with existing infrastructure
3636+- Advanced customization needs
3737+3838+## Requirements
3939+4040+Both methods require:
4141+4242+- Docker 20.10+
4343+- Docker Compose V2
4444+- 2GB RAM minimum
4545+- 10GB disk space
4646+4747+**Supported Platforms:** Linux, macOS, Windows (WSL)
4848+4949+## Next Steps
5050+5151+Choose your preferred method and follow the corresponding guide to get Kaneo up and running.
···11/// <reference types="next" />
22/// <reference types="next/image-types/global" />
33-import "./.next/dev/types/routes.d.ts";
33+import "./.next/types/routes.d.ts";
4455// NOTE: This file should not be edited
66// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.