summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIsmail D <[email protected]>2022-09-25 00:17:12 +0200
committerGitHub <[email protected]>2022-09-24 15:17:12 -0700
commite6c5d2be958d26b7494e5d909564ddc06fd7f5b4 (patch)
treee61aa0be17a0bd11abeaa0f0ce2976d160fc0cb2
parent88d73d4734179efe71d77fdea5b2cf5a09b3d717 (diff)
downloadcaprover-one-click-apps-e6c5d2be958d26b7494e5d909564ddc06fd7f5b4.tar.gz
caprover-one-click-apps-e6c5d2be958d26b7494e5d909564ddc06fd7f5b4.zip
Add SurrealDB (#723)
* Add SurrealDB * Format surrealdb.yml * Remove yarn.lock
-rw-r--r--public/v4/apps/surrealdb.yml43
-rw-r--r--public/v4/logos/surrealdb.pngbin0 -> 245967 bytes
2 files changed, 43 insertions, 0 deletions
diff --git a/public/v4/apps/surrealdb.yml b/public/v4/apps/surrealdb.yml
new file mode 100644
index 0000000..ebe4040
--- /dev/null
+++ b/public/v4/apps/surrealdb.yml
@@ -0,0 +1,43 @@
+captainVersion: 4
+services:
+ $$cap_appname-db:
+ volumes:
+ - $$cap_appname-db-data:/data
+ restart: always
+ environment:
+ USER: $$cap_db_user
+ PASS: $$cap_db_pass
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ dockerfileLines:
+ - FROM surrealdb/surrealdb:$$cap_surrealdb_version
+ - EXPOSE 8000
+ - CMD ["start", "--user", "$$cap_db_user", "--pass", "$$cap_db_pass", "--bind","0.0.0.0:8000", "file://data/srdb.db"]
+caproverOneClickApp:
+ variables:
+ - id: $$cap_surrealdb_version
+ label: SurrealDB Version
+ defaultValue: '1.0.0-beta.7'
+ description: Check out their Docker page for the valid tags https://hub.docker.com/r/surrealdb/surrealdb/tags
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_db_user
+ label: SurrealDB root user
+ description: ''
+ validRegex: /.{1,}/
+ - id: $$cap_db_pass
+ label: SurrealDB root password
+ description: ''
+ validRegex: /.{1,}/
+ instructions:
+ start: >-
+ With an SQL-style query language, real-time queries with highly-efficient related data retrieval, advanced security permissions for multi-tenant access, and support for performant analytical workloads, SurrealDB is the next generation serverless database.
+ After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 8000 to other CapRover apps.
+
+ Enter your SurrealDB Configuration parameters and click on next. It will take about a minute for the process to finish.
+ end: >-
+ SurrealDB is deployed and available as srv-captain--$$cap_appname-db:8000 to other apps.
+ You can add a port mapping in case you need to use the database from outside the server.
+ displayName: SurrealDB
+ isOfficial: true
+ description: SurrealDB is an innovative NewSQL cloud database, suitable for serverless applications, jamstack applications, single-page applications, and traditional applications.
+ documentation: Taken from https://surrealdb.com/
diff --git a/public/v4/logos/surrealdb.png b/public/v4/logos/surrealdb.png
new file mode 100644
index 0000000..83a520b
--- /dev/null
+++ b/public/v4/logos/surrealdb.png
Binary files differ