Skip to content

Config

This content is for v0.3. Switch to the latest version for up-to-date documentation.

In this section general config settings will be explained.

The following example shows all settings that can be set and which will be explained on this page:

config:
allowPreReleases: true
workspaceFolder: workspaces
proxy:
domain: dev.localhost
subDomain: example

If you want to use releases that are not marked yet as stable, you can change this setting to true and if available, update to them via webdev update.

Default value: false

Example

config:
allowPreReleases: true

Our development environment can contain more then one workspace (or in other words, can contain more then one project), with this option you define in which folder the tool will look for additional workspaces

Default value: workspaces

Example

config:
workspaceFolder: workspaces

This is the default domain for our development environment that WebDev uses to create the domains for traefik. So for example we have service defined that has a subdomain set for mailpit, then this will result in mailpit.dev.localhost, or whatever value you have set the domain to.

Default value: dev.localhost

Example

config:
proxy:
domain: dev.localhost

This is the default subdomain for our workspace. So when you open your browser, you can reach the system via shop.dev.localhost or www.shop.dev.localhost (The www subdomain will always be created by the tool).

Default value: devcontainer

Example

config:
proxy:
domain: shop