refactor(code-server): small changes in config (#3484)

This commit is contained in:
Stavros 2024-05-13 20:32:36 +03:00 committed by GitHub
parent f39677aa96
commit 178465f599
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 15 deletions

View File

@ -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"]
}

View File

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