Skip to main content

One app in a subfolder

Set Base directory to the app’s folder, such as apps/web. Pxxl builds only that folder. Or in pxxl.toml:
Put pxxl.toml in the base directory or the repo root.

Several apps in one project

Turn on Multiple Services in Deploy > Build Configuration. Each service gets its own folder, commands, port, and route, but they share one project, one repo, and one deploy history.

Example: Turborepo with web and API

Fine-tune each service in pxxl.toml. The alias must match the one in the dashboard:
pxxl.toml
[services.*] blocks only change services you’ve already added. They don’t create new ones.

Example: API and worker

The worker builds and runs with the project but has no public URL.

Domains per service

Attach a domain to the service that should get the traffic:

Separate projects instead

If the apps deploy on different schedules or belong to different teams, make them separate projects with their own base directory. They can still talk privately over private networking.
If a service won’t start, check its base directory, port, and start command first. A command that works from the repo root may fail inside the service folder.