From 178465f5998d11cb065aaf539495cb9c0013ee68 Mon Sep 17 00:00:00 2001 From: Stavros Date: Mon, 13 May 2024 20:32:36 +0300 Subject: [PATCH] refactor(code-server): small changes in config (#3484) --- apps/code-server/config.json | 21 ++++++++------------- apps/code-server/docker-compose.yml | 4 ++-- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/apps/code-server/config.json b/apps/code-server/config.json index d32d70d8..8aa28a52 100644 --- a/apps/code-server/config.json +++ b/apps/code-server/config.json @@ -1,19 +1,17 @@ { "$schema": "../schema.json", - "name": "Code-Server - Web VS Code", + "name": "Code Server", "available": true, "exposable": true, "port": 8138, "id": "code-server", - "tipi_version": 29, + "tipi_version": 30, "version": "4.89.0", - "categories": [ - "development" - ], - "description": "", - "short_desc": "Code-server is VS Code running on a remote server, accessible through the browser.", - "author": "https://github.com/coder", - "source": "https://github.com/linuxserver/docker-code-server", + "categories": ["development"], + "description": "Code-server is VS Code running on a remote server, accessible through the browser.", + "short_desc": "VS Code in the browser", + "author": "coder", + "source": "https://github.com/coder/code-server", "form_fields": [ { "type": "password", @@ -32,8 +30,5 @@ "env_variable": "CODESERVER_SUDO_PASSWORD" } ], - "supported_architectures": [ - "arm64", - "amd64" - ] + "supported_architectures": ["arm64", "amd64"] } diff --git a/apps/code-server/docker-compose.yml b/apps/code-server/docker-compose.yml index 12c2c266..b22b23f7 100644 --- a/apps/code-server/docker-compose.yml +++ b/apps/code-server/docker-compose.yml @@ -9,9 +9,9 @@ services: - TZ=${TZ} - PASSWORD=${CODESERVER_PASSWORD} - SUDO_PASSWORD=${CODESERVER_SUDO_PASSWORD} - - DEFAULT_WORKSPACE=/config/workspace #optional + - DEFAULT_WORKSPACE=/config/workspace volumes: - - ${APP_DATA_DIR}/data/config:/config #config dir + - ${APP_DATA_DIR}/data/config:/config - ${APP_DATA_DIR}/data/projects:/projects ports: - ${APP_PORT}:8443