{
    "captainVersion": "2",
    "documentation": "ArangoDB",
    "description": "ArangoDB is native multi-model database for using and combining graph, document and key/value models",
    "displayName": "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": "Check out 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,}/"
        }
    ]
}
