mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Add Typesense blueprint with Docker Compose setup and update meta.json (#275)
- Introduced Typesense service with Docker Compose configuration. - Added Typesense template for environment variables and configuration. - Updated meta.json to include Typesense entry and formatted tags for consistency. Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bac7763358
commit
a55f98f1b7
14
blueprints/typesense/docker-compose.yml
Normal file
14
blueprints/typesense/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
typesense:
|
||||
image: typesense/typesense:29.0
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
|
||||
- TYPESENSE_ENABLE_CORS=${TYPESENSE_ENABLE_CORS}
|
||||
- TYPESENSE_DATA_DIR=/data
|
||||
volumes:
|
||||
- typesense-data:/data
|
||||
|
||||
volumes:
|
||||
typesense-data:
|
||||
12
blueprints/typesense/template.toml
Normal file
12
blueprints/typesense/template.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
api_key = "${password:16}"
|
||||
enable_cors = "true"
|
||||
|
||||
[config]
|
||||
env = ["TYPESENSE_API_KEY=${api_key}", "TYPESENSE_ENABLE_CORS=${enable_cors}"]
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "typesense"
|
||||
port = 8108
|
||||
host = "${main_domain}"
|
||||
BIN
blueprints/typesense/typesense.png
Normal file
BIN
blueprints/typesense/typesense.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
15
meta.json
15
meta.json
@@ -3883,6 +3883,21 @@
|
||||
"php"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "typesense",
|
||||
"name": "Typesense",
|
||||
"version": "29.0",
|
||||
"description": "Typesense is a fast, open-source search engine for building modern search experiences.",
|
||||
"logo": "typesense.png",
|
||||
"links": {
|
||||
"github": "https://github.com/typesense/typesense",
|
||||
"website": "https://typesense.org/",
|
||||
"docs": "https://typesense.org/docs"
|
||||
},
|
||||
"tags": [
|
||||
"search"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "umami",
|
||||
"name": "Umami",
|
||||
|
||||
Reference in New Issue
Block a user