forked from desmosinc/pontoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
143 lines (143 loc) · 4.47 KB
/
app.json
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "pontoon",
"description": "In-place localization tool.",
"keywords": ["l10n", "localization", "mozilla", "collaboration", "python", "django"],
"website": "https://pontoon.mozilla.org",
"logo": "https://pontoon.mozilla.org/static/img/logo.svg",
"success_url": "/",
"image": "heroku/python",
"addons": [
{
"plan": "newrelic:wayne"
},
{
"plan": "raygun:cr-free"
},
{
"plan": "papertrail:choklad"
},
{
"plan": "cloudamqp",
"as": "RABBITMQ"
},
{
"plan": "memcachier",
"as": "MEMCACHE"
},
{
"plan": "heroku-postgresql",
"options": {
"version": "11"
}
}
],
"env": {
"SITE_URL": {
"description": "Base URL of the site. Has to be https://{app-name}.herokuapp.com.",
"required": true
},
"ADMIN_EMAIL": {
"value": "[email protected]",
"description": "Email address for the ``ADMINS`` setting."
},
"ADMIN_NAME": {
"value": "pontoon-admin",
"description": "Name for the ``ADMINS`` setting."
},
"ADMIN_PASSWORD": {
"value": "supersecretpassword",
"description": "Password for the administrator account."
},
"PROJECT_MANAGERS": {
"description": "List of project managers.",
"required": false,
"value": ""
},
"CELERY_ALWAYS_EAGER": {
"value": "False",
"description": "Controls whether asynchronous tasks (mainly used during sync) are sent to Celery or executed immediately and synchronously. Set this to ``False`` on production."
},
"SECRET_KEY": {
"description": "Secret key used for sessions, cryptographic signing, etc.",
"generator": "secret"
},
"DISABLE_COLLECTSTATIC": {
"description": "Disables running ``./manage.py collectstatic`` during the build. Should be set to ``1``.",
"value": "1"
},
"SSH_KEY": {
"description": "SSH private key to use for authentication when Pontoon connects to VCS servers via SSH.",
"required": false,
"value": ""
},
"SSH_CONFIG": {
"description": "Contents of the ``~/.ssh/config`` file used when Pontoon connects to VCS servers via SSH. Used for disabling strict key checking and setting the default user for SSH.",
"required": false,
"value": ""
},
"NEW_RELIC_API_KEY": {
"description": "API key for accessing the New Relic REST API. Used to mark deploys on New Relic.",
"required": false,
"value": ""
},
"NEW_RELIC_APP_NAME": {
"description": "Name to give to this app on New Relic. Required if you're using New Relic.",
"required": false,
"value": ""
},
"STATIC_HOST": {
"description": "Hostname to prepend to static resources paths. Useful for serving static files from a CDN.",
"required": false,
"value": ""
},
"SVN_LD_LIBRARY_PATH": {
"description": "Path to prepend to ``LD_LIBRARY_PATH`` when running SVN. This is necessary on Heroku because the Python buildpack alters the path in a way that breaks the built-in SVN command.",
"value": "/usr/lib/x86_64-linux-gnu/"
},
"TZ": {
"description": "Timezone for the dynos that will run the app. Pontoon operates in UTC",
"value": "UTC"
},
"HEROKU_DEMO": {
"description": "Enabled features like a standalone login page etc.",
"value": "1"
},
"LOCALE_REQUEST_FROM_EMAIL": {
"description": "Optional. Requests for new project locales are sent from this email.",
"value": "[email protected]"
},
"VCS_SYNC_NAME": {
"description": "Optional. Default committer's name used when committing translations to version control system.",
"value": "Pontoon"
},
"VCS_SYNC_EMAIL": {
"description": "Optional. Default committer's email used when committing translations to version control system.",
"value": "[email protected]"
}
},
"buildpacks": [
{
"url": "https://github.com/dmathieu/heroku-buildpack-submodules#0caf30af7737bf1bc32b7aafc009f19af3e603c1"
},
{
"url": "https://github.com/Osmose/heroku-buildpack-ssh"
},
{
"url": "https://github.com/mozilla/heroku-buildpack-apt.git#v0.1"
},
{
"url": "heroku/nodejs"
},
{
"url": "heroku/python"
}
],
"scripts": {
"postdeploy": "./bin/heroku_postdeploy && ./manage.py heroku_deploy_setup"
},
"formation": {
"worker": {
"quantity": 1
}
}
}