From f8721329ba47146dda83887428c3d58091a3d62b Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 11 Aug 2022 08:34:14 +0000 Subject: [PATCH] fix network name --- .env | 2 +- app/executor.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index e25eee599..351447a8b 100644 --- a/.env +++ b/.env @@ -68,7 +68,7 @@ _APP_FUNCTIONS_CPUS=0 _APP_FUNCTIONS_MEMORY=0 _APP_FUNCTIONS_MEMORY_SWAP=0 _APP_FUNCTIONS_INACTIVE_THRESHOLD=60 -OPEN_RUNTIMES_NETWORK=appwrite-runtimes +OPEN_RUNTIMES_NETWORK=appwrite_runtimes _APP_EXECUTOR_SECRET=your-secret-key _APP_EXECUTOR_HOST=http://appwrite-executor/v1 _APP_MAINTENANCE_INTERVAL=86400 diff --git a/app/executor.php b/app/executor.php index a10e42cf3..cd8096ade 100644 --- a/app/executor.php +++ b/app/executor.php @@ -276,7 +276,7 @@ App::post('/v1/runtimes') throw new Exception('Failed to create build container', 500); } - $orchestration->networkConnect($runtimeId, App::getEnv('OPEN_RUNTIMES_NETWORK', 'appwrite-runtimes')); + $orchestration->networkConnect($runtimeId, App::getEnv('OPEN_RUNTIMES_NETWORK', 'appwrite_runtimes')); /** * Execute any commands if they were provided