From b6a410cc1737de9cc8f2a7e9767ca04315b27f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 10 Nov 2022 09:40:15 +0000 Subject: [PATCH] Finish changes documentation --- CHANGES.md | 4 ++++ app/views/install/compose.phtml | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 2c649ab5f0..7cec7da82a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +# Version 1.2.0 + +- Replace Appwrite executor with OpenRuntimes Executor [#4650](https://github.com/appwrite/appwrite/pull/4650) + # Version 1.1.0 ## Bugs diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index b5edb41412..e163ecac8e 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -574,6 +574,32 @@ services: - _APP_REDIS_USER - _APP_REDIS_PASS + openruntimes-executor: + container_name: openruntimes-executor + hostname: exc1 + <<: *x-logging + stop_signal: SIGINT + image: openruntimes/executor:0.1.3 + networks: + - appwrite + - openruntimes-runtimes + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - openruntimes-builds:/storage/builds:rw + - openruntimes-functions:/storage/functions:rw + - /tmp:/tmp:rw + environment: + - OPR_EXECUTOR_CONNECTION_STORAGE + - OPR_EXECUTOR_INACTIVE_TRESHOLD + - OPR_EXECUTOR_NETWORK + - OPR_EXECUTOR_DOCKER_HUB_USERNAME + - OPR_EXECUTOR_DOCKER_HUB_PASSWORD + - OPR_EXECUTOR_ENV=$_APP_ENV + - OPR_EXECUTOR_RUNTIMES=$_APP_FUNCTIONS_RUNTIMES + - OPR_EXECUTOR_SECRET=$_APP_EXECUTOR_SECRET + - OPR_EXECUTOR_LOGGING_PROVIDER=$_APP_LOGGING_PROVIDER + - OPR_EXECUTOR_LOGGING_CONFIG=$_APP_LOGGING_CONFIG + mariadb: image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p container_name: appwrite-mariadb