summaryrefslogtreecommitdiff
path: root/app.json
blob: 6025bba96fd2b8ea1cec8495bf790314706d581b (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
    "name": "HackMD",
    "description": "Realtime collaborative markdown notes on all platforms",
    "keywords": [
        "Collaborative",
        "Markdown",
        "Notes"
    ],
    "website": "https://hackmd.io",
    "repository": "https://github.com/hackmdio/hackmd",
    "logo": "https://github.com/hackmdio/hackmd/raw/master/public/hackmd-icon-1024.png",
    "success_url": "/",
    "scripts": {
        "postdeploy": "./node_modules/.bin/sequelize db:migrate"
    },
    "env": {
        "BUILD_ASSETS": {
            "description": "Our build script variable",
            "value": "true"
        },
        "NPM_CONFIG_PRODUCTION": {
            "description": "Let npm also install development build tool",
            "value": "false"
        },
        "DB_TYPE": {
            "description": "Specify database type. See sequelize available databases. Default using postgres",
            "value": "postgres"
        },

        "HMD_DOMAIN": {
            "description": "domain name",
            "required": false
        },
        "HMD_URL_PATH": {
            "description": "sub url path, like `www.example.com/<URL_PATH>`",
            "required": false
        },
        "HMD_PORT": {
            "description": "web app port",
            "required": false,
            "value": "80"
        },
        "HMD_ALLOW_ORIGIN": {
            "description": "domain name whitelist (use comma to separate)",
            "required": false,
            "value": "localhost"
        },
        "HMD_PROTOCOL_USESSL": {
            "description": "set to use ssl protocol for resources path (only applied when domain is set)",
            "required": false
        },
        "HMD_URL_ADDPORT": {
            "description": "set to add port on callback url (port 80 or 443 won't applied) (only applied when domain is set)",
            "required": false
        },
        "HMD_FACEBOOK_CLIENTID": {
            "description": "Facebook API client id",
            "required": false
        },
        "HMD_FACEBOOK_CLIENTSECRET": {
            "description": "Facebook API client secret",
            "required": false
        },
        "HMD_TWITTER_CONSUMERKEY": {
            "description": "Twitter API consumer key",
            "required": false
        },
        "HMD_TWITTER_CONSUMERSECRET": {
            "description": "Twitter API consumer secret",
            "required": false
        },
        "HMD_GITHUB_CLIENTID": {
            "description": "GitHub API client id",
            "required": false
        },
        "HMD_GITHUB_CLIENTSECRET": {
            "description": "GitHub API client secret",
            "required": false
        },
        "HMD_GITLAB_BASEURL": {
            "description": "GitLab authentication endpoint, set to use other endpoint than GitLab.com (optional)",
            "required": false
        },
        "HMD_GITLAB_CLIENTID": {
            "description": "GitLab API client id",
            "required": false
        },
        "HMD_GITLAB_CLIENTSECRET": {
            "description": "GitLab API client secret",
            "required": false
        },
        "HMD_DROPBOX_CLIENTID": {
            "description": "Dropbox API client id",
            "required": false
        },
        "HMD_DROPBOX_CLIENTSECRET": {
            "description": "Dropbox API client secret",
            "required": false
        },
        "HMD_GOOGLE_CLIENTID": {
            "description": "Google API client id",
            "required": false
        },
        "HMD_GOOGLE_CLIENTSECRET": {
            "description": "Google API client secret",
            "required": false
        },
        "HMD_IMGUR_CLIENTID": {
            "description": "Imgur API client id",
            "required": false
        }
    },
    "addons": [
        "heroku-postgresql"
    ],
    "buildpacks": [
        {
            "url": "https://github.com/alex88/heroku-buildpack-vips"
        },
        {
            "url": "https://github.com/heroku/heroku-buildpack-nodejs"
        }
    ]
}