Update and rename vs-code-server/readme.md to vs-code-server/template/readme.md
This commit is contained in:
38
vs-code-server/template/readme.md
Normal file
38
vs-code-server/template/readme.md
Normal file
@@ -0,0 +1,38 @@
|
||||
\# Coder VSCode Template
|
||||
|
||||
|
||||
|
||||
\## 功能
|
||||
|
||||
\- 單容器架構
|
||||
|
||||
\- 使用者程式碼 → 宿主實體目錄 `/path/to/host/projects`
|
||||
|
||||
\- 使用者設定 / cache → Docker volume `/config/users`
|
||||
|
||||
\- 登出自動儲存
|
||||
|
||||
\- 支援 GitHub Copilot
|
||||
|
||||
\- 支援 WebSocket + 子域名
|
||||
|
||||
|
||||
|
||||
\## 對應 docker-compose.yml 要求
|
||||
|
||||
```yaml
|
||||
|
||||
volumes:
|
||||
|
||||
- user\_config:/config/users
|
||||
|
||||
- /path/to/host/projects:/projects
|
||||
|
||||
- coder\_system:/config/coder
|
||||
|
||||
|
||||
|
||||
environment:
|
||||
|
||||
CODER\_ADDRESS: 0.0.0.0:3000
|
||||
|
||||
Reference in New Issue
Block a user