File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55use Illuminate \Database \Eloquent \ModelNotFoundException ;
66use Illuminate \Validation \Rule ;
77use ProcessMaker \Exception \ScriptLanguageNotSupported ;
8+ use ProcessMaker \Facades \Docker ;
89use ProcessMaker \Traits \Exportable ;
910use ProcessMaker \Traits \HasVersioning ;
1011
@@ -196,7 +197,7 @@ public function dockerImageExists()
196197
197198 public static function listOfExecutorImages ($ filterByLanguage = null )
198199 {
199- exec (' docker images | awk \'{r=$1":"$2; print r} \'' , $ result );
200+ exec (Docker:: command () . ' images | awk \'{r=$1":"$2; print r} \'' , $ result );
200201
201202 $ instance = config ('app.instance ' );
202203
Original file line number Diff line number Diff line change 3232
3333 'pusher ' => [
3434 'driver ' => 'pusher ' ,
35- 'key ' => env ('PUSHER_APP_KEY ' ),
36- 'secret ' => env ('PUSHER_APP_SECRET ' ),
37- 'app_id ' => env ('PUSHER_APP_ID ' ),
35+ 'key ' => env ('PUSHER_APP_KEY ' , ' app-key ' ),
36+ 'secret ' => env ('PUSHER_APP_SECRET ' , ' app-secret ' ),
37+ 'app_id ' => env ('PUSHER_APP_ID ' , ' app-id ' ),
3838 'options ' => [
39- 'cluster ' => env ('PUSHER_CLUSTER ' ),
40- 'debug ' => env ('PUSHER_DEBUG ' , false ),
41- 'useTLS ' => env ('PUSHER_TLS ' , true ),
39+ 'host ' => env ('PUSHER_HOST ' , '127.0.0.1 ' ),
40+ 'port ' => env ('PUSHER_PORT ' , 6001 ),
41+ 'scheme ' => env ('PUSHER_SCHEME ' , 'http ' ),
42+ 'encrypted ' => true ,
43+ 'useTLS ' => env ('PUSHER_SCHEME ' ) === 'https ' ,
4244 ],
4345 ],
4446
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function run(ClientRepository $clients)
3434 'is_administrator ' => true ,
3535 ], [
3636 'username ' => self ::$ INSTALLER_ADMIN_USERNAME ,
37- 'password ' => Hash::make (self ::$ INSTALLER_ADMIN_PASSWORD ),
37+ 'password ' => Hash::make (env ( ' INSTALL_ADMIN_PASSWORD ' , self ::$ INSTALLER_ADMIN_PASSWORD ) ),
3838 'email ' => self ::$ INSTALLER_ADMIN_EMAIL ,
3939 'firstname ' => self ::$ INSTALLER_ADMIN_FIRSTNAME ,
4040 'lastname ' => self ::$ INSTALLER_ADMIN_LASTNAME ,
Original file line number Diff line number Diff line change 5858 broadcaster: " pusher" ,
5959 key: " {{ config (' broadcasting.connections.pusher.key' )} }" ,
6060 cluster: " {{ config (' broadcasting.connections.pusher.options.cluster' )} }" ,
61+ wsHost: " {{ config (' broadcasting.connections.pusher.options.host' )} }" ,
62+ wsPort: " {{ config (' broadcasting.connections.pusher.options.port' )} }" ,
63+ wssPort: " {{ config (' broadcasting.connections.pusher.options.port' )} }" ,
6164 forceTLS: {{ config (' broadcasting.connections.pusher.options.use_tls' ) ? ' true' : ' false' } } ,
62- debug: {{ config (' broadcasting.connections.pusher.options.debug' ) ? ' true' : ' false' } }
65+ debug: {{ config (' broadcasting.connections.pusher.options.debug' ) ? ' true' : ' false' } } ,
66+ enabledTransports: [' ws' , ' wss' ],
67+ disableStats: true ,
6368 };
6469 @endif
6570 @endif
You can’t perform that action at this time.
0 commit comments