Skip to content

Commit

Permalink
chore: 🤖 zeabur template for Typesense (#18)
Browse files Browse the repository at this point in the history
* chore: 🤖 zeabur template for Typesense

* docs: ✏️ zeabur cli readme
  • Loading branch information
ThaddeusJiang authored Oct 22, 2024
1 parent 80856ef commit 6d8354c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
11 changes: 11 additions & 0 deletions zeabur/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Zeabur

## Typesense Template

```sh
npx zeabur template update -c FTAONK -f typesense-template.yaml
```

docs:

- https://zeabur.com/docs/template/template-in-code
30 changes: 30 additions & 0 deletions zeabur/typesense-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
name: Typesense
spec:
description: Fast, open source, typo-tolerant search engine
icon: "https://typesense.org/docs/images/typesense_logo.svg"
services:
- name: typesense
icon: https://typesense.org/docs/images/typesense_logo.svg
template: PREBUILT_V2
spec:
source:
image: typesense/typesense:27.1
ports:
- id: web
port: 8108
type: HTTP
volumes:
- id: data
dir: /data
env:
TYPESENSE_API_KEY:
default: "xyz"
expose: false
TYPESENSE_DATA_DIR:
default: /data
expose: false
configs: []

0 comments on commit 6d8354c

Please sign in to comment.