From 2926ae281a7663654c06c9dfe9516033e7771a6d Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Wed, 7 Aug 2024 17:08:51 +0900 Subject: [PATCH] Add missing specs and update executor --- app/config/runtimes/specifications.php | 20 ++++++++++++++++++++ docker-compose.yml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/app/config/runtimes/specifications.php b/app/config/runtimes/specifications.php index 0d14b4fb0f..5ce0d1de40 100644 --- a/app/config/runtimes/specifications.php +++ b/app/config/runtimes/specifications.php @@ -28,4 +28,24 @@ return [ 'memory' => 4096, 'cpus' => 2 ], + Specification::S_4VCPU_4GB => [ + 'slug' => 's-4vcpu-4gb', + 'memory' => 4096, + 'cpus' => 4 + ], + Specification::S_4VCPU_8GB => [ + 'slug' => 's-4vcpu-8gb', + 'memory' => 8192, + 'cpus' => 4 + ], + Specification::S_8VCPU_4GB => [ + 'slug' => 's-8vcpu-4gb', + 'memory' => 4096, + 'cpus' => 8 + ], + Specification::S_8VCPU_8GB => [ + 'slug' => 's-8vcpu-8gb', + 'memory' => 8192, + 'cpus' => 8 + ] ]; diff --git a/docker-compose.yml b/docker-compose.yml index be46825992..c17f81bddf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -833,7 +833,7 @@ services: hostname: exc1 <<: *x-logging stop_signal: SIGINT - image: openruntimes/executor:0.5.5 + image: openruntimes/executor:0.5.7 restart: unless-stopped networks: - appwrite