add ArangoDB v3.4 (#43)

* add ArangoDB v3.4

* change dockerCompose version to 3.3
This commit is contained in:
Prabir Shrestha 2019-03-24 16:36:33 -07:00 committed by Kasra Bigdeli
parent 7a30320f9c
commit b71446779f
1 changed files with 39 additions and 0 deletions

View File

@ -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,}/"
}
]
}