diff --git a/blueprints/typesense/docker-compose.yml b/blueprints/typesense/docker-compose.yml new file mode 100644 index 00000000..ca3ac4a5 --- /dev/null +++ b/blueprints/typesense/docker-compose.yml @@ -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: diff --git a/blueprints/typesense/template.toml b/blueprints/typesense/template.toml new file mode 100644 index 00000000..cc2f8743 --- /dev/null +++ b/blueprints/typesense/template.toml @@ -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}" diff --git a/blueprints/typesense/typesense.png b/blueprints/typesense/typesense.png new file mode 100644 index 00000000..9f6d7173 Binary files /dev/null and b/blueprints/typesense/typesense.png differ diff --git a/meta.json b/meta.json index 88d36ab8..02ec7081 100644 --- a/meta.json +++ b/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",