Merge pull request #898 from MANFIT7/add-code-server-template

feat: add code-server template
This commit is contained in:
Mauricio Siu
2026-07-08 10:18:09 -06:00
committed by GitHub
4 changed files with 48 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@@ -0,0 +1,17 @@
version: "3.8"
services:
code-server:
image: codercom/code-server:4.121.0
restart: unless-stopped
expose:
- 8080
volumes:
- code-server-home:/home/coder
environment:
- PASSWORD=${PASSWORD}
- TZ=${TZ}
user: "1000:1000"
volumes:
code-server-home:

View File

@@ -0,0 +1,18 @@
{
"id": "code-server",
"name": "code-server",
"version": "4.121.0",
"description": "code-server runs VS Code in the browser, enabling a self-hosted development environment from any machine.",
"logo": "code-server.png",
"links": {
"github": "https://github.com/coder/code-server",
"website": "https://coder.com/docs/code-server",
"docs": "https://coder.com/docs/code-server"
},
"tags": [
"ide",
"development",
"vscode",
"self-hosted"
]
}

View File

@@ -0,0 +1,13 @@
[variables]
main_domain = "${domain}"
password = "${password:32}"
[config]
[[config.domains]]
serviceName = "code-server"
port = 8080
host = "${main_domain}"
[config.env]
PASSWORD = "${password}"
TZ = "UTC"