Project Configuration

An app needs no Telbase configuration file. It is registered with telbase apps create, and its settings live with Telbase and its provider. This page lists the files in your app's folder that Telbase and your agent use, and how the CLI picks the app a command acts on.

Which app a command acts on

Commands that act on one app (db, env, domain, logs, deploys, rollback, the service controls) take the app from, in order:

  1. --project <app>;
  2. a .telbase/project.json in the folder, which the earlier CLI wrote there (nothing writes it now; delete it to stop it applying);
  3. the current project, set with telbase projects switch <name>.
bash
telbase apps list                # the organization's apps
telbase logs --project my-app
telbase projects switch my-app   # then commands without --project use it

Files in your app's folder

Secrets stay out of files
Connection strings and storage keys are set on the provider from a command, never written to a file. See Environment Variables.

Settings

telbase config shows the current project's settings: name, slug, region, framework and status.

bash
telbase config list
telbase config get region

An app's URL, deploy command, database commands and sign-in state:

bash
telbase apps info my-app

Next Steps