forked from mozilla/pontoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
139 lines (139 loc) · 4.34 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
{
"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:intro"
},
{
"plan": "papertrail:choklad"
},
{
"plan": "cloudamqp",
"as": "RABBITMQ"
},
{
"plan": "memcachedcloud",
"as": "MEMCACHE"
},
{
"plan": "heroku-postgresql",
"options": {
"version": "9.5"
}
}
],
"env": {
"SITE_URL": {
"description": "Base URL of the site. Has to be https://{app-name}.herokuapp.com.",
"required": true
},
"ADMIN_EMAIL": {
"value": "pontoon@example.com",
"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."
},
"DJANGO_DEBUG": {
"value": "True",
"description": "Controls ``DEBUG`` mode for the site. Should be set to `False` in production."
},
"DJANGO_DEV": {
"value": "False",
"description": "Signifies whether this is a development server or not. Should be `False` in production. Adds some additional django apps that can be helpful during day to day development."
},
"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"
}
},
"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
}
}
}