Skip to main content

Application environments

Each Divio application includes three environments for the application by default.

The three environments are created in Docker containers from the same images.

  • Local, running on your own computer
  • Test, running on our Cloud servers
  • Live, running on our Cloud servers

In our recommended workflow, development is done locally, before being deployed to Test and finally to Live.

It is also possible to set up multiple cloud environments for an application. For example, a common scheme is to use four: Development, Testing, QA, Production.

Default application conditions

Some of these conditions may be readily altered according your needs, for example the DEBUG setting. See also How to run a local application in live configuration.

LocalTestLive
STAGE environment variablelocaltestlive
DEBUG environment variableTrueTrueFalse
static files served bylocal serveruWSGI
media files served bylocal serverour Cloud S3 service
database runs ina local containerour Cloud database cluster
number of application containersone according to subscription
application container sleepsn/aafter 15 minutes' activitynever