feat: add SurrealDB service template (#7642)

This commit is contained in:
Charles Wong 2026-03-10 15:36:09 -07:00
parent dc34d21cda
commit 76d3842acb

View file

@ -0,0 +1,20 @@
# documentation: https://surrealdb.com/docs
# slogan: SurrealDB — the ultimate multi-model database for tomorrow's applications. A scalable, distributed, collaborative document-graph database.
# category: database
# tags: database, nosql, graph, document, sql, realtime, surrealdb, multi-model
# logo: svgs/surrealdb.svg
# port: 8000
services:
surrealdb:
image: surrealdb/surrealdb:latest
command: start --user $SERVICE_USER_SURREALDB --pass $SERVICE_PASSWORD_SURREALDB file:/data/srdb.db
volumes:
- surrealdb-data:/data
environment:
- SERVICE_FQDN_SURREALDB_8000
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8000/health"]
interval: 5s
timeout: 10s
retries: 10