Application instance

Application instance is a single environment (stack) deployed for your app (dev, staging, prod, feature, etc). Every app can have unlimited instances but at least one. By default we deploy development (or just dev) instance of your application. But you can deploy as many instances as you want.

You can remove or add a new instance from the Instances page. To get there navigate to the instance page and click on a cogwheel in the header.

Instance type

There are 3 types of instances: dev, staging and production. The difference between instance types depends on a stack (see your stack documentation) but usually they differ in error reporting level, e.g. show all errors on dev instances and none on production. Some stacks may have no difference in configuration for different instance types, in this case, we recommend using production instance type in case changes affecting this behavior will be introduced in future.

Deletion

When you delete an instance Wodby does not delete containers' persistent files (database, codebase, etc) on your server to ensure no valuable data will be lost. Please follow the instructions below to clean up your server from these outdated files:

  1. Move outdated files to a separate directory:

    $ docker run --rm -it -v /srv/wodby:/srv/wodby wodby/cleanup 'API Token'
    
  2. Make sure your applications still operate correctly. Delete outdated files:

    $ rm -rf /srv/wodby/_deleted
    

results matching ""

    No results matching ""