mirror of
https://github.com/wassname/talk.git
synced 2026-06-27 20:23:30 +08:00
e0627925fb
* feat: added env-rewrite support * feat: added heroku support via app.json * fix: fixed readme linting error * fix: fixed error in app.json * fix: improved environment variables exposed by app.json
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "Talk",
|
|
"description": "A better commenting experience from Vox Media.",
|
|
"env": {
|
|
"REWRITE_ENV": {
|
|
"description": "Used to rewrite the environment variables set by Heroku.",
|
|
"value": "REDIS_URI:REDIS_URL,MONGODB_URI:MONGO_URI"
|
|
},
|
|
"SIGNING_SECRET": {
|
|
"description":
|
|
"The shared secret to use to sign JSON Web Tokens (JWT) with the selected signing algorithm.",
|
|
"generator": "secret"
|
|
},
|
|
"CONCURRENCY": {
|
|
"description": "The number of worker nodes to spawn to handle traffic.",
|
|
"value": "1"
|
|
},
|
|
"LOCALE": {
|
|
"description":
|
|
"Specify the default locale to use for all requests without a locale specified",
|
|
"value": "en-US"
|
|
},
|
|
"ENABLE_GRAPHIQL": {
|
|
"description": "When true, this will enable the GraphiQL routes",
|
|
"value": "false"
|
|
}
|
|
},
|
|
"addons": [
|
|
{
|
|
"plan": "mongolab:sandbox",
|
|
"as": "MONGO"
|
|
},
|
|
{
|
|
"plan": "rediscloud:30",
|
|
"as": "REDIS"
|
|
}
|
|
],
|
|
"success_url": "/install",
|
|
"website": "https://github.com/coralproject/talk"
|
|
}
|