summaryrefslogtreecommitdiffhomepage
path: root/public/v2/apps/adminer.json
blob: 4f393a33488157b85f10b9ac396fbc47c2c7a611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
    "captainVersion": "2",
    "documentation": "Taken from https://hub.docker.com/_/adminer ",
    "description": "Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP",
    "displayName": "Adminer",
    "dockerCompose": {
        "version": "3.3",
        "services": {
            "$$cap_appname": {
                "image": "adminer:$$cap_adminer_version",
                "containerHttpPort": "8080",
                "restart": "always",
                "environment": {
                    "ADMINER_PLUGINS": "$$cap_adminer_plugins",
                    "ADMINER_DESIGN": "$$cap_adminer_design"
                }
            }
        }
    },
    "instructions": {
        "start": "Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB. \n\n For more details, see: https://github.com/vrana/adminer\n\n  Enter your Adminer Configuration parameters and click on next. It will take about a minute for the process to finish.",
        "end": "Adminer is deployed and available as $$cap_appname"
    },
    "variables": [
        {
            "id": "$$cap_adminer_version",
            "label": "Adminer Version Tag",
            "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/library/adminer/tags/",
            "defaultValue": "4",
            "validRegex": "/^([^\\s^\\/])+$/"
        },
        {
            "id": "$$cap_adminer_design",
            "label": "OPTIONAL: Adminer Design",
            "description": "List of designs: https://github.com/vrana/adminer/tree/master/designs",
            "validRegex": "/^([a-zA-Z0-9-.])*$/"
        },
        {
            "id": "$$cap_adminer_plugins",
            "label": "OPTIONAL: Adminer plugins (space separated)",
            "defaultValue": "",
            "validRegex": "/^([a-zA-Z0-9-.\\s])*$/"
        }
    ]
}