{
    "captainVersion": "2",
    "documentation": "Taken from https://hub.docker.com/_/nextcloud",
    "displayName": "",
    "description": "Nextcloud is a suite of client-server software for creating and using file hosting services",
    "dockerCompose": {
        "version": "3.3",
        "services": {
            "$$cap_appname": {
                "image": "nextcloud:$$cap_nextcloud_version",
                "volumes": [
                    "$$cap_appname-data:/var/www/html"
                ],
                "restart": "always",
                "environment": {}
            }
        }
    },
    "instructions": {
        "start": "A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms. http://Nextcloud.com",
        "end": "NextCloud is deployed and available as $$cap_appname"
    },
    "variables": [{
        "id": "$$cap_nextcloud_version",
        "label": "NextCloud Version",
        "defaultValue": "15",
        "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/library/nextcloud/tags/",
        "validRegex": "/^([^\\s^\\/])+$/"
    }]

}