File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ VS Code in the browser ([code-server](https://github.com/coder/code-server))
4545| version | The version of code-server to install. If empty, installs the latest version. | string | - |
4646| welcomeText | Text to show on login page. | string | - |
4747| workspace | Path to the workspace or folder to open on startup. Can be a directory or a .code-workspace file. | string | - |
48+ | appOpenIn | The way to open the app in Coder. Defaults to 'slim-window'. | string | slim-window |
49+ | appShare | The group to use for the app in Coder. Defaults to 'owner'. | string | owner |
50+ | appGroup | The group to use for the app in Coder. Defaults to 'Web Editors'. | string | Web Editors |
4851
4952
5053
Original file line number Diff line number Diff line change 154154 "type" : " string" ,
155155 "default" : " " ,
156156 "description" : " Path to the workspace or folder to open on startup. Can be a directory or a .code-workspace file."
157+ },
158+ "appOpenIn" : {
159+ "type" : " string" ,
160+ "default" : " slim-window" ,
161+ "description" : " The way to open the app in Coder. Defaults to 'slim-window'."
162+ },
163+ "appShare" : {
164+ "type" : " string" ,
165+ "default" : " owner" ,
166+ "description" : " The group to use for the app in Coder. Defaults to 'owner'."
167+ },
168+ "appGroup" : {
169+ "type" : " string" ,
170+ "default" : " Web Editors" ,
171+ "description" : " The group to use for the app in Coder. Defaults to 'Web Editors'."
172+ }
173+ },
174+ "customizations" : {
175+ "coder" : {
176+ "apps" : [
177+ {
178+ "slug" : " code-server" ,
179+ "displayName" : " code-server" ,
180+ "url" : " http://${localEnv:FEATURE_CODE_SERVER_OPTION_HOST:127.0.0.1}:${localEnv:FEATURE_CODE_SERVER_OPTION_PORT:8080}/" ,
181+ "openIn" : " ${localEnv:FEATURE_CODE_SERVER_OPTION_APPOPENIN:slim-window}" ,
182+ "share" : " ${localEnv:FEATURE_CODE_SERVER_OPTION_APPSHARE:owner}" ,
183+ "icon" : " /icon/code.svg" ,
184+ "group" : " ${localEnv:FEATURE_CODE_SERVER_OPTION_APPGROUP:Web Editors}"
185+ }
186+ ]
157187 }
158188 },
159189 "entrypoint" : " /usr/local/bin/code-server-entrypoint" ,
You can’t perform that action at this time.
0 commit comments