mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-27 13:27:43 +08:00
feat:添加code-server到测试
This commit is contained in:
parent
178e942903
commit
1578ac1924
5
apps/code-server/4.14.0/.env.sample
Normal file
5
apps/code-server/4.14.0/.env.sample
Normal file
@ -0,0 +1,5 @@
|
||||
CONTAINER_NAME="code-server"
|
||||
PANEL_APP_PORT_HTTP="40031"
|
||||
DATA_PATH="./data"
|
||||
WEB_PASSWORD="web_passowrd"
|
||||
SUDO_PASSWORD="sudo_password"
|
||||
33
apps/code-server/4.14.0/data.yml
Normal file
33
apps/code-server/4.14.0/data.yml
Normal file
@ -0,0 +1,33 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40031
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: code
|
||||
envKey: WEB_PASSWORD
|
||||
labelEn: Web access password
|
||||
labelZh: 网页访问密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: code
|
||||
envKey: SUDO_PASSWORD
|
||||
labelEn: sudo password
|
||||
labelZh: sudo密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
25
apps/code-server/4.14.0/docker-compose.yml
Normal file
25
apps/code-server/4.14.0/docker-compose.yml
Normal file
@ -0,0 +1,25 @@
|
||||
version: '3'
|
||||
services:
|
||||
onenav:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8443"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/config"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Asia/Shanghai
|
||||
- PASSWORD=${WEB_PASSWORD}
|
||||
- SUDO_PASSWORD=${SUDO_PASSWORD}
|
||||
- DEFAULT_WORKSPACE=/config/workspace
|
||||
image: linuxserver/code-server:4.14.0
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
78
apps/code-server/README.md
Normal file
78
apps/code-server/README.md
Normal file
@ -0,0 +1,78 @@
|
||||
# code-server
|
||||
|
||||
[](https://github.com/coder/code-server/discussions) [](https://coder.com/community) [](https://twitter.com/coderhq) [](https://codecov.io/gh/coder/code-server) [](https://coder.com/docs/code-server/latest)
|
||||
|
||||
Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and
|
||||
access it in the browser.
|
||||
|
||||

|
||||
|
||||
## Highlights
|
||||
|
||||
- Code on any device with a consistent development environment
|
||||
- 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
|
||||
|
||||
## Requirements
|
||||
|
||||
See [requirements](https://coder.com/docs/code-server/latest/requirements) for minimum specs, as well as instructions
|
||||
on how to set up a Google VM on which you can install code-server.
|
||||
|
||||
**TL;DR:** Linux machine with WebSockets enabled, 1 GB RAM, and 2 vCPUs
|
||||
|
||||
## Getting started
|
||||
|
||||
There are four ways to get started:
|
||||
|
||||
1. Using the [install
|
||||
script](https://github.com/coder/code-server/blob/main/install.sh), which
|
||||
automates most of the process. The script uses the system package manager if
|
||||
possible.
|
||||
2. Manually [installing
|
||||
code-server](https://coder.com/docs/code-server/latest/install)
|
||||
3. Deploy code-server to your team with [coder/coder](https://cdr.co/coder-github)
|
||||
4. Using our one-click buttons and guides to [deploy code-server to a cloud
|
||||
provider](https://github.com/coder/deploy-code-server) ⚡
|
||||
|
||||
If you use the install script, you can preview what occurs during the install
|
||||
process:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
|
||||
```
|
||||
|
||||
To install, run:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://code-server.dev/install.sh | sh
|
||||
```
|
||||
|
||||
When done, the install script prints out instructions for running and starting
|
||||
code-server.
|
||||
|
||||
> **Note**
|
||||
> To manage code-server for a team on your infrastructure, see: [coder/coder](https://cdr.co/coder-github)
|
||||
|
||||
We also have an in-depth [setup and
|
||||
configuration](https://coder.com/docs/code-server/latest/guide) guide.
|
||||
|
||||
## Questions?
|
||||
|
||||
See answers to [frequently asked
|
||||
questions](https://coder.com/docs/code-server/latest/FAQ).
|
||||
|
||||
## Want to help?
|
||||
|
||||
See [Contributing](https://coder.com/docs/code-server/latest/CONTRIBUTING) for
|
||||
details.
|
||||
|
||||
## Hiring
|
||||
|
||||
Interested in [working at Coder](https://coder.com/careers)? Check out [our open
|
||||
positions](https://coder.com/careers#openings)!
|
||||
|
||||
## For Organizations
|
||||
|
||||
Want remote development for your organization or enterprise? Visit [our
|
||||
website](https://coder.com) to learn more about Coder.
|
||||
20
apps/code-server/data.yml.bak
Normal file
20
apps/code-server/data.yml.bak
Normal file
@ -0,0 +1,20 @@
|
||||
name: code-server
|
||||
tags:
|
||||
- 工具
|
||||
title: 在任何地方的任何计算机上运行VS Code并在浏览器中访问它
|
||||
type: 工具
|
||||
description: 在任何地方的任何计算机上运行VS Code并在浏览器中访问它
|
||||
additionalProperties:
|
||||
key: code-server
|
||||
name: code-server
|
||||
tags:
|
||||
- Tool
|
||||
shortDescZh: 在任何地方的任何计算机上运行VS Code并在浏览器中访问它
|
||||
shortDescEn: Run VS Code on any machine anywhere and access it in the browser
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://coder.com/
|
||||
github: https://github.com/coder/code-server
|
||||
document: https://coder.com/docs/code-server/latest
|
||||
5
apps/code-server/latest/.env.sample
Normal file
5
apps/code-server/latest/.env.sample
Normal file
@ -0,0 +1,5 @@
|
||||
CONTAINER_NAME="code-server"
|
||||
PANEL_APP_PORT_HTTP="40031"
|
||||
DATA_PATH="./data"
|
||||
WEB_PASSWORD="web_passowrd"
|
||||
SUDO_PASSWORD="sudo_password"
|
||||
33
apps/code-server/latest/data.yml
Normal file
33
apps/code-server/latest/data.yml
Normal file
@ -0,0 +1,33 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40031
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: code
|
||||
envKey: WEB_PASSWORD
|
||||
labelEn: Web access password
|
||||
labelZh: 网页访问密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: code
|
||||
envKey: SUDO_PASSWORD
|
||||
labelEn: sudo password
|
||||
labelZh: sudo密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
25
apps/code-server/latest/docker-compose.yml
Normal file
25
apps/code-server/latest/docker-compose.yml
Normal file
@ -0,0 +1,25 @@
|
||||
version: '3'
|
||||
services:
|
||||
onenav:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8443"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/config"
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Asia/Shanghai
|
||||
- PASSWORD=${WEB_PASSWORD}
|
||||
- SUDO_PASSWORD=${SUDO_PASSWORD}
|
||||
- DEFAULT_WORKSPACE=/config/workspace
|
||||
image: linuxserver/code-server:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
BIN
apps/code-server/logo.png
Normal file
BIN
apps/code-server/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
Loading…
Reference in New Issue
Block a user