{
    "captainVersion": "2",
    "documentation": "Taken from https://hub.docker.com/r/portainer/portainer/",
    "displayName": "",
    "description": "Portainer is a lightweight management UI which allows you to easily manage your different Docker environments",
    "dockerCompose": {
        "version": "3.3",
        "services": {
            "$$cap_appname": {
                "containerHttpPort": "9000",
                "image": "portainer/portainer:$$cap_portainer_version",
                "volumes": [
                    "/var/run/docker.sock:/var/run/docker.sock",
                    "$$cap_appname-data:/data"
                ],
                "restart": "always"
            }
        }
    },
    "instructions": {
        "start": "Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster. \n\n More information about this container can be found here:\n https://hub.docker.com/r/portainer/portainer/ .\n\n After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 9000 to other CapRover apps .\n\nEnter your portainer Configuration parameters and click on next. It will take about a minute for the process to finish.",
        "end": "Portainer is deployed and available as srv-captain--$$cap_appname:9000 to other apps."
    },
    "variables": [
        {
            "id": "$$cap_portainer_version",
            "label": "Portainer Version",
            "defaultValue": "1.20.2",
            "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/portainer/portainer/tags",
            "validRegex": "/^([^\\s^\\/])+$/"
        }
    ]
}
