Self-Hosting
Seed Data
Seeder profiles for development and demo environments.
Seed Data
Kaiten includes a CLI seeder that populates your database with realistic data for development and demos.
Available Profiles
| Profile | Description |
|---|---|
default | Full seed with 4 organizations, users, entitlements, licenses, customers, instances |
kaiten-sushi-shop | Sushi restaurant themed demo: 1 organization, 3 customers, 3 licenses, 4 entitlements, 7 feature flags |
Usage
Seed with Docker Compose
KAITEN_SEED_PROFILE=kaiten-sushi-shop make upSeed with CLI
go run api/cmd/seeder/main.go --profile kaiten-sushi-shop --cleanList Available Profiles
go run api/cmd/seeder/main.go listOptions
| Flag | Description |
|---|---|
-p, --profile | Profile to seed (repeatable for multiple profiles) |
-c, --clean | Reset database before seeding |
--run-migrations | Only run migrations, skip seeding |
Clean Seed
The --clean flag drops the database, re-runs migrations, and seeds from scratch:
go run api/cmd/seeder/main.go -p kaiten-sushi-shop -cMultiple Profiles
Seed multiple profiles in order:
go run api/cmd/seeder/main.go -p default -p kaiten-sushi-shopAlready-seeded profiles are automatically skipped (tracked in the seeder_runs table).

