forked from ProcessMaker/processmaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript-runners.php
More file actions
32 lines (31 loc) · 1010 Bytes
/
script-runners.php
File metadata and controls
32 lines (31 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
return [
/*
|--------------------------------------------------------------------------
| Script Runners
|--------------------------------------------------------------------------
|
| This option controls the available Script Runners.
|
*/
'php' => [
'name' => 'PHP',
'runner' => 'PhpRunner',
'mime_type' => 'application/x-php',
'image' => env('SCRIPTS_PHP_IMAGE', 'processmaker4/executor-php'),
'options' => ['invokerPackage' => "ProcessMaker\\Client"]
],
'lua' => [
'name' => 'Lua',
'runner' => 'LuaRunner',
'mime_type' => 'application/x-lua',
'image' => env('SCRIPTS_LUA_IMAGE', 'processmaker4/executor-lua'),
],
'javascript' => [
'name' => 'JavaScript',
'runner' => 'NodeRunner',
'mime_type' => 'text/javascript',
'image' => env('SCRIPTS_NODE_IMAGE', 'processmaker4/executor-node'),
'options' => ['gitRepoId' => 'sdk-node']
],
];