File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
components/workspace/base Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 11{
2+ // NOTE: If making changes to this file, be sure to check the development mode
3+ // for Labspaces (this file is overridden in the content development Compose file).
24 "remote.autoForwardPorts" : false ,
35 "security.workspace.trust.enabled" : false ,
46 "window.autoDetectColorScheme" : true ,
57 "terminal.integrated.env.linux" : {
68 "PATH" : " ${env:PATH}"
9+ },
10+ "files.exclude" : {
11+ ".github/workflows/publish-labspace.yaml" : true ,
12+ ".labspace" : true ,
13+ "labspace.yaml" : true
714 }
815}
Original file line number Diff line number Diff line change @@ -61,7 +61,11 @@ services:
6161 target : /etc/cmd-executor/socket
6262 volume :
6363 subpath : socket
64-
64+ configs :
65+ - source : workspace-settings
66+ target : /home/coder/.local/share/code-server/User/settings.json
67+ uid : " 1000"
68+ gid : " 1000"
6569
6670 host-republisher :
6771 image : dockersamples/labspace-host-port-republisher:latest
@@ -142,3 +146,17 @@ networks:
142146 default :
143147 name : labspace
144148
149+ configs :
150+
151+ # Show the .labspace directory during content development to make it easier to edit from
152+ # inside the Labspace environment
153+ workspace-settings :
154+ content : |
155+ {
156+ "remote.autoForwardPorts": false,
157+ "security.workspace.trust.enabled": false,
158+ "window.autoDetectColorScheme": true,
159+ "terminal.integrated.env.linux": {
160+ "PATH": "${env:PATH}"
161+ }
162+ }
You can’t perform that action at this time.
0 commit comments