You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -119,8 +119,9 @@ For more advanced use cases, consult the [advanced dev containers doc](./advance
119
119
{
120
120
"customizations": {
121
121
"coder": {
122
-
"apps": {
123
-
"flask-app": {
122
+
"apps": [
123
+
{
124
+
"slug":"flask-app",
124
125
"command":"python app.py",
125
126
"icon":"/icon/flask.svg",
126
127
"subdomain":true,
@@ -130,7 +131,7 @@ For more advanced use cases, consult the [advanced dev containers doc](./advance
130
131
"threshold":10
131
132
}
132
133
}
133
-
}
134
+
]
134
135
}
135
136
}
136
137
}
@@ -140,10 +141,10 @@ For more advanced use cases, consult the [advanced dev containers doc](./advance
140
141
141
142
Coder names dev container agents in this order:
142
143
143
-
1.`customizations.coder.agent.name` in `devcontainer.json`
144
-
1.`name`in `devcontainer.json`
145
-
1.Directory name that contains the config
146
-
1.`devcontainer` (default)
144
+
1.`customizations.coder.name` in `devcontainer.json`
145
+
1.Resource name used in terraform (`resource "coder_devcontainer" "name"`)
146
+
1.Project directory name (name of folder containing `devcontainer.json` or `.devcontainer` folder)
147
+
1.If project directory name is already taken, the name is expanded to include the parent folder (`/home/coder/some/project` -> `project` (taken) -> `some-project`)
0 commit comments