generated from devcontainers/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevcontainer-feature.json
153 lines (153 loc) · 5.99 KB
/
devcontainer-feature.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "code-server",
"id": "code-server",
"version": "1.0.0",
"description": "VS Code in the browser",
"options": {
"appName": {
"type": "string",
"default": "",
"description": "The name to use in branding. Will be shown in titlebar and welcome message."
},
"auth": {
"type": "string",
"enum": ["password", "none"],
"default": "password",
"description": "The type of authentication to use. When 'password' is selected, code-server will auto-generate a password. 'none' disables authentication entirely."
},
"cert": {
"type": "string",
"default": "",
"description": "Path to certificate. A self signed certificate is generated if none is provided."
},
"certHost": {
"type": "string",
"default": "",
"description": "Hostname to use when generating a self signed certificate."
},
"certKey": {
"type": "string",
"default": "",
"description": "Path to certificate key when using non-generated cert."
},
"disableFileDownloads": {
"type": "boolean",
"default": false,
"description": "Disable file downloads from Code. When enabled, users will not be able to download files from the editor."
},
"disableFileUploads": {
"type": "boolean",
"default": false,
"description": "Disable file uploads to Code. When enabled, users will not be able to upload files to the editor."
},
"disableGettingStartedOverride": {
"type": "boolean",
"default": false,
"description": "Disable the coder/coder override in the Help: Getting Started page."
},
"disableProxy": {
"type": "boolean",
"default": false,
"description": "Disable domain and path proxy routes."
},
"disableTelemetry": {
"type": "boolean",
"default": false,
"description": "Disable telemetry reporting."
},
"disableUpdateCheck": {
"type": "boolean",
"default": false,
"description": "Disable update check. Without this flag, code-server checks every 6 hours against the latest GitHub release and notifies once a week when updates are available."
},
"disableWorkspaceTrust": {
"type": "boolean",
"default": false,
"description": "Disable Workspace Trust feature. This only affects the current session."
},
"enableProposedAPI": {
"type": "string",
"default": "",
"description": "Comma-separated list of VS Code extension IDs to enable proposed API features for."
},
"extensions": {
"type": "string",
"default": "",
"description": "Comma-separated list of VS Code extensions to install. Format: 'publisher.extension[@version]' (e.g., 'ms-python.python,ms-azuretools.vscode-docker')."
},
"hashedPasswordFile": {
"type": "string",
"default": "",
"description": "Path to a file containing the hashed password used for authentication. The password should be hashed with argon2 and be in the encoded form. This takes priority over `passwordFile`."
},
"host": {
"type": "string",
"default": "127.0.0.1",
"description": "The address to bind to for the code-server. Use '0.0.0.0' to listen on all interfaces."
},
"locale": {
"type": "string",
"default": "",
"description": "Set VS Code display language and language shown on the login page. Format should be an IETF language tag (e.g., 'en', 'fr', 'zh-CN')."
},
"logFile": {
"type": "string",
"default": "/tmp/code-server.log",
"description": "Path to a file to send stdout and stderr logs to from code-server."
},
"passwordFile": {
"type": "string",
"default": "",
"description": "Path to a file containing the password used for authentication."
},
"port": {
"type": "string",
"default": "8080",
"description": "The port to bind to for the code-server."
},
"proxyDomain": {
"type": "string",
"default": "",
"description": "Domain used for proxying ports."
},
"socket": {
"type": "string",
"default": "",
"description": "Path to a socket. When specified, host and port will be ignored."
},
"socketMode": {
"type": "string",
"default": "",
"description": "File mode of the socket when using the socket option."
},
"trustedOrigins": {
"type": "string",
"default": "",
"description": "Comma-separated list of trusted-origins to disable origin check for. Useful if not able to access reverse proxy configuration."
},
"verbose": {
"type": "boolean",
"default": false,
"description": "Enable verbose logging."
},
"version": {
"type": "string",
"default": "",
"description": "The version of code-server to install. If empty, installs the latest version."
},
"welcomeText": {
"type": "string",
"default": "",
"description": "Text to show on login page."
},
"workspace": {
"type": "string",
"default": "",
"description": "Path to the workspace or folder to open on startup. Can be a directory or a .code-workspace file."
}
},
"entrypoint": "/usr/local/bin/code-server-entrypoint",
"dependsOn": {
"ghcr.io/devcontainers/features/common-utils:2": {}
}
}