mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
feat: add SurrealDB service template (#7642)
This commit is contained in:
parent
dc34d21cda
commit
76d3842acb
1 changed files with 20 additions and 0 deletions
20
templates/compose/surrealdb.yaml
Normal file
20
templates/compose/surrealdb.yaml
Normal 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
|
||||
Loading…
Reference in a new issue