From 623b2f97dabdc664219f691bb1deba4adbdab55e Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Wed, 4 Oct 2023 10:13:39 -0700 Subject: [PATCH] Ensure openruntimes-executor restarts after a server reboot Every other service restarts automatically after a server reboot so the openruntimes-executor should too. Otherwise, function executions will fail as the executor is unavailable. --- app/views/install/compose.phtml | 1 + docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index b9f5882c7..892810702 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -666,6 +666,7 @@ services: container_name: openruntimes-executor hostname: appwrite-executor <<: *x-logging + restart: unless-stopped stop_signal: SIGINT image: openruntimes/executor:0.4.3 networks: diff --git a/docker-compose.yml b/docker-compose.yml index db4921779..b229609d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -722,6 +722,7 @@ services: <<: *x-logging stop_signal: SIGINT image: openruntimes/executor:0.4.3 + restart: unless-stopped networks: - appwrite - runtimes