Skip to content

Process compose

process.managers.process-compose.package

The process-compose package to use.

Type: package

Default: pkgs.process-compose

process.managers.process-compose.port

The port to bind the process-compose server to.

Not used when unixSocket.enable is true.

Type: signed integer

Default: 8080

process.managers.process-compose.settings

Top-level process-compose.yaml options

Example: https://github.com/F1bonacc1/process-compose/blob/main/process-compose.yaml`

Type: YAML value

Default: { }

Example:

{
  availability = {
    backoff_seconds = 2;
    max_restarts = 5;
    restart = "on_failure";
  };
  depends_on = {
    some-other-process = {
      condition = "process_completed_successfully";
    };
  };
  environment = [
    "ENVVAR_FOR_THIS_PROCESS_ONLY=foobar"
  ];
}

process.managers.process-compose.tui.enable

Enable the TUI (Terminal User Interface)

Type: boolean

Default: true

process.managers.process-compose.unixSocket.enable

Whether to enable running the process-compose server over unix domain sockets instead of tcp.

Type: boolean

Default: true

Example: true

process.managers.process-compose.unixSocket.path

Override the path to the unix socket.

Type: string

Default: ${config.devenv.runtime}/pc.sock