pm3 logopm3
Configuration

Configuration

Overview of pm3.toml configuration file structure.

pm3 uses a single pm3.toml file to define your processes. Each top-level TOML table is a process, and the table name becomes the process name.

pm3.toml
[web]
command = "node server.js"
cwd = "./frontend"
env = { PORT = "3000" }

[api]
command = "python app.py"
depends_on = ["web"]

Structure

  • Each [name] table defines a process.
  • Only command is required — everything else has sensible defaults.
  • Process names must not contain /, \, or ...

Sections

On this page