diff --git a/apps/code-server/config.json b/apps/code-server/config.json index 05637bc9..df1b778d 100644 --- a/apps/code-server/config.json +++ b/apps/code-server/config.json @@ -5,7 +5,7 @@ "exposable": true, "port": 8138, "id": "code-server", - "tipi_version": 25, + "tipi_version": 26, "version": "4.22.1", "categories": [ "development" @@ -22,6 +22,14 @@ "min": 3, "required": true, "env_variable": "CODESERVER_PASSWORD" + }, + { + "type": "password", + "label": "Sudo Password", + "max": 50, + "min": 3, + "required": false, + "env_variable": "CODESERVER_SUDO_PASSWORD" } ], "supported_architectures": [ diff --git a/apps/code-server/docker-compose.yml b/apps/code-server/docker-compose.yml index bcde0435..9a1de71a 100644 --- a/apps/code-server/docker-compose.yml +++ b/apps/code-server/docker-compose.yml @@ -8,6 +8,7 @@ services: - PGID=1000 - TZ=${TZ} - PASSWORD=${CODESERVER_PASSWORD} + - SUDO_PASSWORD=${CODESERVER_SUDO_PASSWORD} - DEFAULT_WORKSPACE=/config/workspace #optional volumes: - ${APP_DATA_DIR}/data/config:/config #config dir diff --git a/apps/code-server/metadata/description.md b/apps/code-server/metadata/description.md index abe472d8..d91ca065 100644 --- a/apps/code-server/metadata/description.md +++ b/apps/code-server/metadata/description.md @@ -4,4 +4,5 @@ - Use cloud servers to speed up tests, compilations, downloads, and more - Preserve battery life when you're on the go; all intensive tasks run on your server -![screenshot](https://raw.githubusercontent.com/coder/code-server/main/docs/assets/screenshot.png) \ No newline at end of file +![Screenshot](https://raw.githubusercontent.com/coder/code-server/main/docs/assets/screenshot-1.png) +![Screenshot](https://raw.githubusercontent.com/coder/code-server/main/docs/assets/screenshot-2.png)