From b71446779f89c85282207b02f5f7cb46f83ee950 Mon Sep 17 00:00:00 2001 From: Prabir Shrestha Date: Sun, 24 Mar 2019 16:36:33 -0700 Subject: [PATCH] add ArangoDB v3.4 (#43) * add ArangoDB v3.4 * change dockerCompose version to 3.3 --- public/v1/apps/arangodb.json | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 public/v1/apps/arangodb.json diff --git a/public/v1/apps/arangodb.json b/public/v1/apps/arangodb.json new file mode 100644 index 0000000..63e0dc3 --- /dev/null +++ b/public/v1/apps/arangodb.json @@ -0,0 +1,39 @@ +{ + "captainVersion": "1", + "documentation": "ArangoDB", + "dockerCompose": { + "version": "3.3", + "services": { + "$$cap_appname-db": { + "image": "arangodb:$$cap_arango_version", + "containerHttpPort": "8529", + "volumes": [ + "$$cap_appname-db-data:/var/lib/arangodb3", + "$$cap_appname-db-apps-data:/var/lib/arangodb3-apps" + ], + "restart": "always", + "environment": { + "ARANGO_ROOT_PASSWORD": "$$cap_db_pass" + } + } + } + }, + "instructions": { + "start": "ArangoDB is a multi-model, open-source database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions. Use ACID transactions if you require them. Scale horizontally and vertically with a few mouse clicks.", + "end": "'ArangoDB' is deployed and available as srv-captain--$$cap_appname-db:8529 to other apps." + }, + "variables": [{ + "id": "$$cap_arango_version", + "label": "ArangoDB Version", + "defaultValue": "3.4", + "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/arangodb/tags/", + "validRegex": "/^([^\\s^\\/])+$/" + }, + { + "id": "$$cap_db_pass", + "label": "ArangoDB Root password", + "description": "", + "validRegex": "/.{1,}/" + } + ] +}