mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: working Qdrant template (#91)
* feat: working Qdrant template * Fix: config * fix: generate domain once
This commit is contained in:
parent
b23709fc92
commit
9a6c191197
20
blueprints/qdrant/docker-compose.yml
Normal file
20
blueprints/qdrant/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
services:
|
||||
qdrant:
|
||||
image: "qdrant/qdrant:latest"
|
||||
environment:
|
||||
- SERVICE_FQDN_QDRANT_6333
|
||||
- QDRANT__SERVICE__API_KEY=${QDRANT_API_KEY}
|
||||
expose:
|
||||
- "6333"
|
||||
volumes:
|
||||
- "qdrant_data:/qdrant/storage"
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- bash -c ':> /dev/tcp/127.0.0.1/6333' || exit 1
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
qdrant_data: {}
|
22
blueprints/qdrant/qdrant.svg
Normal file
22
blueprints/qdrant/qdrant.svg
Normal file
@ -0,0 +1,22 @@
|
||||
<svg width="49" height="56" viewBox="0 0 49 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_4688_32465)">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M38.4886 51.4767L37.3719 20.6899L35.3496 12.5732L48.848 14.0022V51.2437L40.6024 56.0026L38.4886 51.4767Z" fill="#24386C"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.8468 14L40.6011 18.7622L23.5851 15.0296L3.66794 23.139L0.349609 14L12.4719 7L24.5979 0L36.7206 7L48.8468 14Z" fill="#7589BE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.349609 13.9994L8.59528 18.7616L13.3751 32.9769L29.5141 45.89L24.5983 55.9994L12.4723 48.999L0.349609 41.999V13.9994Z" fill="#B2BFE8"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M30.0662 38.4209L24.5996 46.4799V56.0006L32.3566 51.525L36.3534 45.5569" fill="#24386C"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.6021 36.9622L16.8418 23.5262L18.5133 19.0731L24.8677 15.9922L32.3557 23.5265L24.6021 36.9622Z" fill="#7589BE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.8428 23.5254L24.5997 28.001V36.9595L17.4256 37.2682L13.0859 31.727L16.8428 23.5254Z" fill="#B2BFE8"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.5996 27.9996L32.3566 23.5244L37.6358 32.3147L31.2472 37.5931L24.5996 36.9585V27.9996Z" fill="#24386C"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.3553 51.524L40.601 56V18.7622L32.5978 14.1433L24.5983 9.52441L16.5952 14.1433L8.5957 18.7622V37.2411L16.5952 41.86L24.5983 46.4793L32.3553 41.9996V51.524ZM32.3553 32.4789L24.5983 36.9582L16.8414 32.4789V23.524L24.5983 19.0448L32.3553 23.524V32.4789Z" fill="#DC244C"/>
|
||||
<path d="M24.6033 46.4828V36.9606L16.8867 32.5195V42.0259L24.6033 46.4828Z" fill="url(#paint0_linear_4688_32465)"/>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_4688_32465" x1="23.1805" y1="38.7809" x2="15.4911" y2="38.7809" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF3364"/>
|
||||
<stop offset="1" stop-color="#C91540" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_4688_32465">
|
||||
<rect width="48.3" height="56" fill="white" transform="translate(0.349609)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
13
blueprints/qdrant/template.toml
Normal file
13
blueprints/qdrant/template.toml
Normal file
@ -0,0 +1,13 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
|
||||
[config]
|
||||
mounts = []
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "qdrant"
|
||||
port = 6333
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
QDRANT_API_KEY = "${password:32}"
|
19
meta.json
19
meta.json
@ -2225,5 +2225,22 @@
|
||||
"docs": "https://www.bugsink.com/docs/"
|
||||
},
|
||||
"tags": ["hosting", "self-hosted", "development"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "qdrant",
|
||||
"name": "Qdrant",
|
||||
"version": "latest",
|
||||
"description": "An open-source vector database designed for high-performance similarity search and storage of embeddings.",
|
||||
"logo": "qdrant.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/qdrant/qdrant",
|
||||
"website": "https://qdrant.tech/",
|
||||
"docs": "https://qdrant.tech/documentation/"
|
||||
},
|
||||
"tags": [
|
||||
"vector-db",
|
||||
"database",
|
||||
"search"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user