Skip to main content

Interface: DevServerConfig

testing.DevServerConfig

Configuration for the Temporal CLI Dev Server.

Properties

db_filename

Optional db_filename: string

Sqlite DB filename if persisting or non-persistent if none (default).


executable

Optional executable: EphemeralServerExecutable


extraArgs

Optional extraArgs: string[]

Extra args to pass to the executable command.

Note that the Dev Server implementation may be changed to another one in the future. Therefore, there is no guarantee that Dev Server options, and particularly those provided through the extraArgs array, will continue to be supported in the future.


ip

Optional ip: string

IP to bind to.

Default

localhost

log

Optional log: Object

Log format and level

Default

{ format: "pretty", level" "warn" }

Type declaration

NameType
formatstring
levelstring

namespace

Optional namespace: string

Namespace to use - created at startup.

Default

"default"

port

Optional port: number

Optional port to listen on, defaults to find a random free port.


type

type: "dev-server"


ui

Optional ui: boolean

Whether to enable the UI.

Default

false