Interface: DevServerConfig
Configuration for the Temporal CLI Dev Server.
Properties
dbFilename?
optionaldbFilename?:string
Sqlite DB filename if persisting or non-persistent if none (default).
executable?
optionalexecutable?:EphemeralServerExecutable
extraArgs?
optionalextraArgs?: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?
optionalip?:string
IP to bind to.
Default
localhost
log?
optionallog?:object
Log format and level
format
format:
string
level
level:
string
Default
{ format: "pretty", level" "warn" }
namespace?
optionalnamespace?:string
Namespace to use - created at startup.
Default
"default"
port?
optionalport?:number
Port to listen on; defaults to find a random free port.
searchAttributes?
optionalsearchAttributes?:SearchAttributeKey<SearchAttributeType>[]
Search attributes to be registered with the dev server.
startupTimeout?
optionalstartupTimeout?:Duration
Maximum time to wait for server readiness after spawning the process, excluding executable download time.
Default
'5s'
type
type:
"dev-server"
ui?
optionalui?:boolean
Whether to enable the UI.
Default
true if uiPort is set; defaults to false otherwise.
uiPort?
optionaluiPort?:number
Port to listen on for the UI; if ui is true, defaults to port + 1000.