Environment Variables
Vela uses environment variables to configure the project. The environment variables are stored in the local .env file by default. The Vela CLI and PocketBase backend rely on the following environment variables:
POCKETBASE_URL=http://localhost:8090
POCKETBASE_SUPERUSER_EMAIL=admin@example.com
POCKETBASE_SUPERUSER_PASSWORD=password You’ll be prompted to create a PocketBase superuser account by whichever command gives the project its database — vela create for a new project, vela bless for an existing SvelteKit one, or vela enable backend for a project that had no backend. The login details are saved in the .env file. The superuser account is used by the CLI, the admin interface and the REST API.
Workflows
The workflow worker reads two optional variables:
WORKFLOWS_CONCURRENCY=5
WORKFLOWS_ENABLED=true WORKFLOWS_CONCURRENCY caps how many runs one server executes at once. WORKFLOWS_ENABLED=false keeps a server from executing runs while still letting it queue them.