Codeminer42/cm42-central

View on GitHub
app.json

Summary

Maintainability
Test Coverage
{
  "name": "cm42-central",
  "description": "Codeminer 42's open source alternative to Pivotal Tracker",
  "keywords": ["productivity", "project management", "scrum", "agile"],
  "website": "https://central.cm42.io",
  "repository": "https://github.com/Codeminer42/cm42-central",
  "scripts": {
    "postdeploy": "rake db:schema:load db:seed"
  },
  "env": {
    "DEVISE_SECRET_KEY": {
      "required": true,
      "generator": "secret"
    },
    "INTEGRATION_URI_DISCORD": {
      "description": "A Discord Hook URL in the format https://discordapp.com/api/webhooks/xxxx/xxxx",
      "required": false
    },
    "INTEGRATION_URI_MATTERMOST": {
      "description": "A Mattermost Hook URL in the format https://yourmattermost.com/hooks/abcdxyz",
      "required": false
    },
    "INTEGRATION_URI_SLACK": {
      "description": "A Slack Hook URL in the format https://hooks.slack.com/services/xxxx/xxxx/xxxxxxx",
      "required": false
    },
    "LANG": {
      "value": "en_US.UTF-8",
      "required": true
    },
    "MAILER_SENDER": {
      "description": "Notification email sender, something like no-reply@yourdomain.com",
      "required": true
    },
    "MAIN_HOST": {
      "description": "The full domain name of this application (it can start being your-app.herokuapp.com)",
      "required": true
    },
    "RACK_ENV": {
      "value": "production",
      "required": true
    },
    "RAILS_ENV": {
      "value": "production",
      "required": true
    },
    "RECAPTCHA_SECRET_KEY": {
      "description": "Create a Recaptcha account and copy the secret key here",
      "required": true
    },
    "RECAPTCHA_SITE_KEY": {
      "description": "Create a Recaptcha account and copy the site key here",
      "required": true
    },
    "SECRET_KEY_BASE": {
      "required": true,
      "generator": "secret"
    },
    "SECRET_TOKEN": {
      "required": true,
      "generator": "secret"
    },
    "SIDEKIQ_CONCURRENCY": {
      "description": "Sidekiq is used mostly for email notifications, so it's quite fast and can be highly parallelized",
      "value": "2",
      "required": false
    },
    "WEB_CONCURRENCY": {
      "description": "A normal Standard 1X dyno should support up to 3 Puma instances of this App and still have some room left",
      "value": "3",
      "required": true
    },
    "CLOUDINARY_URL": {
      "required": true
    },
    "CLOUDINARY_UPLOAD_PRESET": {
      "required": true
    },
    "GOOGLE_ANALYTICS_ID": {
      "required": false
    }
  },
  "formation": {
    "worker": {
      "quantity": 1
    },
    "web": {
      "quantity": 1
    }
  },
  "addons": [
    "logdna",
    "memcachier",
    "heroku-postgresql",
    "heroku-redis",
    "mailgun",
    "pusher:sandbox",
    "rollbar:free"
  ],
  "heroku-postbuild": "webpack -p --config ./config/webpack/production.js --progress",
  "buildpacks": [
    {
      "url": "heroku/nodejs"
    },
    {
      "url": "heroku/ruby"
    }
  ]
}