From 3a2d56e680803cd46082bb56eea707c58cb3ed69 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Fri, 13 Sep 2024 14:36:58 +0000 Subject: [PATCH] chore: add OPR labels --- app/views/install/compose.phtml | 3 +++ docker-compose.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index a307cfdc03..c082b9a40f 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -754,6 +754,8 @@ $image = $this->getParam('image', ''); restart: unless-stopped stop_signal: SIGINT image: openruntimes/executor:0.5.9 + labels: + openruntimes-image: 0.5.9 networks: - appwrite - runtimes @@ -771,6 +773,7 @@ $image = $this->getParam('image', ''); - OPR_EXECUTOR_DOCKER_HUB_USERNAME=$_APP_DOCKER_HUB_USERNAME - OPR_EXECUTOR_DOCKER_HUB_PASSWORD=$_APP_DOCKER_HUB_PASSWORD - OPR_EXECUTOR_ENV=$_APP_ENV + - OPR_EXECUTOR_IMAGE=0.5.9 - OPR_EXECUTOR_RUNTIMES=$_APP_FUNCTIONS_RUNTIMES - OPR_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET - OPR_EXECUTOR_LOGGING_PROVIDER=$_APP_LOGGING_PROVIDER diff --git a/docker-compose.yml b/docker-compose.yml index 4fbdf39944..503ec0e213 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -835,6 +835,8 @@ services: stop_signal: SIGINT image: openruntimes/executor:0.5.9 restart: unless-stopped + labels: + openruntimes-image: 0.5.9 networks: - appwrite - runtimes @@ -852,6 +854,7 @@ services: - OPR_EXECUTOR_DOCKER_HUB_USERNAME=$_APP_DOCKER_HUB_USERNAME - OPR_EXECUTOR_DOCKER_HUB_PASSWORD=$_APP_DOCKER_HUB_PASSWORD - OPR_EXECUTOR_ENV=$_APP_ENV + - OPR_EXECUTOR_IMAGE=0.5.9 - OPR_EXECUTOR_RUNTIMES=$_APP_FUNCTIONS_RUNTIMES - OPR_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET - OPR_EXECUTOR_RUNTIME_VERSIONS=v2,v3