deployment-docs

Predictive Analytics (PP5) : Environment variables

To provide secret keys and some further required configuration details, environment variables are added to the service.


For the application to perform correctly, a couple of environment variables are required. We can add those individually, just like on Heroku.

Process

  1. Scroll down and click “Advanced

    Advanced button

  2. Click “Add Environment Variable

    add environment variable button

  3. Add a key: PORT and a value: 8501

  4. Add a second environment variable with a key: PYTHON_VERSION and value: 3.8.12

    web underscore concurrency key and a value of 4

Up Next

The final option is whether to Auto-Deploy. The two options are explained in the following page.