fix(surrealdb): address PR review feedback

- Deploy binary to /opt/surrealdb with symlink to /usr/local/bin
- Use literal 'SurrealDB' in messages instead of ${APP}
- Fix installation check path to /opt/surrealdb/surreal
- Update ExecStart to use /opt/surrealdb/surreal
- Use selfhst CDN logo URL and capitalize 'Debian' in JSON
- Capitalize 'Completed Successfully' to match conventions
This commit is contained in:
Poulette
2026-03-01 17:09:02 +01:00
parent 5526825a2a
commit af1f6b44c0
3 changed files with 49 additions and 50 deletions

View File

@@ -1,44 +1,42 @@
{
"name": "SurrealDB",
"slug": "surrealdb",
"categories": [
8
],
"date_created": "2026-02-26",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 8000,
"documentation": "https://surrealdb.com/docs",
"website": "https://surrealdb.com/",
"logo": "https://surrealdb.com/assets/static/f8ce1df8b5823f08.7t3KDG7y.webp",
"config_path": "/opt/surrealdb/.env",
"description": "SurrealDB is a multi-model database that combines the power of document, graph, and relational databases into a single platform, offering real-time queries, built-in permissions, and a simplified backend stack.",
"install_methods": [
{
"type": "default",
"script": "ct/surrealdb.sh",
"resources": {
"cpu": 2,
"ram": 1024,
"hdd": 4,
"os": "debian",
"version": "13"
}
}
],
"default_credentials": {
"username": "root",
"password": null
},
"notes": [
{
"text": "SurrealDB web interface is available on port 8000.",
"type": "info"
},
{
"text": "Default credentials are saved in ~/surrealdb.creds.",
"type": "info"
}
]
"name": "SurrealDB",
"slug": "surrealdb",
"categories": [8],
"date_created": "2026-02-26",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 8000,
"documentation": "https://surrealdb.com/docs",
"website": "https://surrealdb.com/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/surrealdb.webp",
"config_path": "/opt/surrealdb/.env",
"description": "SurrealDB is a multi-model database that combines the power of document, graph, and relational databases into a single platform, offering real-time queries, built-in permissions, and a simplified backend stack.",
"install_methods": [
{
"type": "default",
"script": "ct/surrealdb.sh",
"resources": {
"cpu": 2,
"ram": 1024,
"hdd": 4,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": "root",
"password": null
},
"notes": [
{
"text": "SurrealDB web interface is available on port 8000.",
"type": "info"
},
{
"text": "Default credentials are saved in ~/surrealdb.creds.",
"type": "info"
}
]
}