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", "$schema": "../schema.json",
"name": "Code-Server - Web VS Code", "name": "Code Server",
"available": true, "available": true,
"exposable": true, "exposable": true,
"port": 8138, "port": 8138,
"id": "code-server", "id": "code-server",
"tipi_version": 29, "tipi_version": 30,
"version": "4.89.0", "version": "4.89.0",
"categories": [ "categories": ["development"],
"development" "description": "Code-server is VS Code running on a remote server, accessible through the browser.",
], "short_desc": "VS Code in the browser",
"description": "", "author": "coder",
"short_desc": "Code-server is VS Code running on a remote server, accessible through the browser.", "source": "https://github.com/coder/code-server",
"author": "https://github.com/coder",
"source": "https://github.com/linuxserver/docker-code-server",
"form_fields": [ "form_fields": [
{ {
"type": "password", "type": "password",
@ -32,8 +30,5 @@
"env_variable": "CODESERVER_SUDO_PASSWORD" "env_variable": "CODESERVER_SUDO_PASSWORD"
} }
], ],
"supported_architectures": [ "supported_architectures": ["arm64", "amd64"]
"arm64",
"amd64"
]
} }

View File

@ -9,9 +9,9 @@ services:
- TZ=${TZ} - TZ=${TZ}
- PASSWORD=${CODESERVER_PASSWORD} - PASSWORD=${CODESERVER_PASSWORD}
- SUDO_PASSWORD=${CODESERVER_SUDO_PASSWORD} - SUDO_PASSWORD=${CODESERVER_SUDO_PASSWORD}
- DEFAULT_WORKSPACE=/config/workspace #optional - DEFAULT_WORKSPACE=/config/workspace
volumes: volumes:
- ${APP_DATA_DIR}/data/config:/config #config dir - ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/projects:/projects - ${APP_DATA_DIR}/data/projects:/projects
ports: ports:
- ${APP_PORT}:8443 - ${APP_PORT}:8443