{
    "captainVersion": "2",
    "documentation": "Taken from https://hub.docker.com/r/linuxserver/dokuwiki/tags",
    "displayName": "DokuWiki",
    "description": "Dokuwiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database.",
    "dockerCompose": {
        "version": "3.1",
        "services": {
            "$$cap_appname": {
                "image": "linuxserver/dokuwiki:$$cap_dokuwiki_version",
                "environment": {
                    "TZ": "$$cap_tz",
                    "PUID": "$$cap_puid",
                    "PGID": "$$cap_guid"
                },
                "volumes": ["$$cap_appname-config:/config"]
            }
        }
    },
    "instructions": {
        "start": "Dokuwiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator's favorite. Built in access controls and authentication connectors make DokuWiki especially useful in the enterprise context and the large number of plugins contributed by its vibrant community allow for a broad range of use cases beyond a traditional wiki.",
        "end": "Dokuwiki has been successfully deployed. Please wait about 2 minutes before accessing Dokuwiki.\n\nNavigate to /install.php to finish the installation! More details: https://github.com/linuxserver/docker-dokuwiki#application-setup"
    },
    "variables": [
        {
            "id": "$$cap_dokuwiki_version",
            "label": "DokuWiki Version",
            "defaultValue": "2018-04-22c-ls37",
            "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/linuxserver/dokuwiki/tags",
            "validRegex": "/^([^\\s^\\/])+$/"
        },
        {
            "id": "$$cap_puid",
            "label": "User ID",
            "defaultValue": "1000",
            "description": "User ID that the process uses",
            "validRegex": "/.{1,}/"
        },
        {
            "id": "$$cap_guid",
            "label": "Group ID",
            "defaultValue": "1000",
            "description": "Group ID that the process uses",
            "validRegex": "/.{1,}/"
        },
        {
            "id": "$$cap_tz",
            "label": "Time Zone",
            "defaultValue": "America/New_York",
            "description": "Get yours from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones",
            "validRegex": "/.{1,}/"
        }
    ]
}
