From 2081fb7a9b08780b7a1794a522ed9a010e84f8f2 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Tue, 24 Aug 2021 23:12:41 +0700 Subject: [PATCH] Make sure code-server app restarts on failure (#933) --- apps/code-server/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/code-server/docker-compose.yml b/apps/code-server/docker-compose.yml index a86a2c8..0492257 100644 --- a/apps/code-server/docker-compose.yml +++ b/apps/code-server/docker-compose.yml @@ -3,6 +3,7 @@ version: "3.7" services: server: image: codercom/code-server:3.11.0@sha256:d712341c622b0ae896d8f5b8c02368e44e1f5a03b93cd0489f937352dfc7bab8 + restart: on-failure user: "1000:1000" ports: - "${APP_CODE_SERVER_PORT}:8080"