mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 05:24:49 +09:00
Port variables in templates are now hidden and always auto-generated, never using user-supplied values. The TemplateService's port assignment checks both database and Docker for used ports, and removes obsolete Docker Compose version fields. Adds new CLI commands for cleaning up all applications, performing a factory reset, and listing applications. Minor update to AuthContext to mark setup as complete after registration.
57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
id: code-server
|
|
name: Code Server
|
|
version: "4.20"
|
|
description: VS Code in the browser with full IDE features and extensions support
|
|
icon: https://code.visualstudio.com/favicon.ico
|
|
website: https://coder.com/code-server
|
|
documentation: https://coder.com/docs/code-server/latest
|
|
categories:
|
|
- development
|
|
- ide
|
|
- productivity
|
|
|
|
variables:
|
|
- name: HTTP_PORT
|
|
description: HTTP port
|
|
type: port
|
|
default: "8080"
|
|
hidden: true
|
|
- name: PASSWORD
|
|
description: Access password
|
|
type: password
|
|
generate: password
|
|
- name: SUDO_PASSWORD
|
|
description: Sudo password
|
|
type: password
|
|
generate: password
|
|
|
|
ports:
|
|
- port: 8080
|
|
protocol: tcp
|
|
description: Web interface
|
|
|
|
volumes:
|
|
- name: config
|
|
path: /config
|
|
description: Code Server configuration
|
|
|
|
compose:
|
|
services:
|
|
code-server:
|
|
image: linuxserver/code-server:${VERSION:-4.20.0}
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=UTC
|
|
- PASSWORD=${PASSWORD}
|
|
- SUDO_PASSWORD=${SUDO_PASSWORD}
|
|
volumes:
|
|
- code_server_config:/config
|
|
ports:
|
|
- "${HTTP_PORT}:8443"
|
|
|
|
volumes:
|
|
code_server_config:
|