[APP] Code-server: Add sudo-password (#2936)

* Added optional sudo password for code-server

* Fixed description.md with current screenshots

* Added SUDO_PASSWORD to docker-compose

* Fixed form_field type

* Fixed image links

* Bumped tipi version to 26
This commit is contained in:
Tim Krampitz 2024-04-05 13:15:44 +02:00 committed by GitHub
parent 5b2a136747
commit 1b5b2e8c8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 2 deletions

View File

@ -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": [

View File

@ -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

View File

@ -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)
![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)