mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-03 02:26:43 +09:00
Follow-up to 025fa0be: keep serverkit.ai as the stable icon host rather
than jsDelivr. The registry repo remains the canonical home of the logo
files; serverkit.ai proxies /imgs/template-icons/ from its raw tree, so
these URLs now resolve for all 210 logos instead of only the legacy
subset the website bundles.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
id: typesense
|
|
name: Typesense
|
|
version: "1.0"
|
|
description: Typo-tolerant search engine optimized for fast, instant search-as-you-type experiences.
|
|
icon: https://serverkit.ai/imgs/template-icons/typesense.svg
|
|
website: https://typesense.org
|
|
documentation: https://typesense.org/docs/
|
|
categories:
|
|
- search
|
|
- database
|
|
|
|
variables:
|
|
- name: HTTP_PORT
|
|
description: Port for the Typesense HTTP API (auto-assigned)
|
|
type: port
|
|
default: "8108"
|
|
hidden: true
|
|
- name: API_KEY
|
|
description: Bootstrap API key for Typesense (auto-generated)
|
|
type: random
|
|
length: 48
|
|
hidden: true
|
|
|
|
ports:
|
|
- port: "${HTTP_PORT}"
|
|
protocol: http
|
|
description: Typesense HTTP API
|
|
|
|
requirements:
|
|
memory: 512MB
|
|
storage: 1GB
|
|
|
|
compose:
|
|
services:
|
|
typesense:
|
|
image: typesense/typesense:27.1
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HTTP_PORT}:8108"
|
|
command: ["--data-dir", "/data", "--api-key=${API_KEY}", "--enable-cors"]
|
|
volumes:
|
|
- typesense-data:/data
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8108/health"]
|
|
interval: 10s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 20s
|
|
|
|
volumes:
|
|
typesense-data:
|
|
|
|
post_install: |
|
|
Typesense is installed and running!
|
|
|
|
- API endpoint: http://your-server:${HTTP_PORT}
|
|
- API key: ${API_KEY}
|
|
|
|
Send the key as the `X-TYPESENSE-API-KEY: ${API_KEY}` header on every request.
|
|
Use this bootstrap key to create scoped, lower-privilege keys for your apps.
|