diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml
index 16aedb47fd..c266a76f53 100644
--- a/app/views/install/compose.phtml
+++ b/app/views/install/compose.phtml
@@ -787,7 +787,7 @@ $image = $this->getParam('image', '');
<<: *x-logging
restart: unless-stopped
stop_signal: SIGINT
- image: openruntimes/executor:0.6.2
+ image: openruntimes/executor:0.6.5
networks:
- appwrite
- runtimes
diff --git a/docker-compose.yml b/docker-compose.yml
index a44e7ff006..8fbad2f652 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -873,7 +873,7 @@ services:
hostname: exc1
<<: *x-logging
stop_signal: SIGINT
- image: openruntimes/executor:0.6.2
+ image: openruntimes/executor:0.6.5
restart: unless-stopped
networks:
- appwrite
diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php
index d6459a5ba7..bc94353fee 100644
--- a/src/Executor/Executor.php
+++ b/src/Executor/Executor.php
@@ -194,8 +194,7 @@ class Executor
}
$runtimeId = "$projectId-$deploymentId";
- $route = '/runtimes/' . $runtimeId . '/execution';
-
+ $route = '/runtimes/' . $runtimeId . '/executions';
// Remove after migration
if ($version == 'v3') {
@@ -217,6 +216,7 @@ class Executor
'version' => $version,
'runtimeEntrypoint' => $runtimeEntrypoint,
'logging' => $logging,
+ 'restartPolicy' => 'always' // Once utopia/orchestration has it, use DockerAPI::ALWAYS (0.13+)
];
if(!empty($body)) {