Welcome, Guest Login

Public Cloud Center

App.json Specification

Last Updated: Apr 19, 2017 10:03AM EDT

app.json is a manifest for your web applications. Use app.json to define your application’s environment and how Xervo will run the application.

app.json must be placed within the root of your project.


  "name": "Xervo demo",
  "engines": {
    "java": "7",
    "tomcat": "7"
  "env": {
    "MONGO_URL": "mongodb://..."


name (optional) A name to identity your manifest or your project.

  "name": "Xervo demo"



engines (required) A key-value object that defines which runtime version(s) to build and run your project under. Note that this does not define the runtime for your project, only the version of the already selected runtime.

  "engines": {
    "java": "7"


env (optional) A key-value object that defines environment variables. Values can be strings or objects. Strings will be used directly, objects will be parsed and supplied to the environment as stringified JSON.

  "env": {
    "MONGO_URL": "mongodb://...",
      "googleApiKey": "BB7DP446111"


scripts (optional) A key-value object that defines various scripts to run with your project. Keys and values must be strings.

  "scripts": {
    "start": "gunicorn -b unix:/mnt/home/app.sock wsgi

Go to top

Contact Us

    Our Support Policy
    Submit a Support Request

  • Public Cloud Support Hours
    9am-5pm EST Mon-Fri
    Outside of these hours response times may be up to 24hrs.

    Submit a support ticket by clicking 'status and support' icon on the left side of this page.

seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found