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
Copy file name to clipboardExpand all lines: docs/configuration.md
+62Lines changed: 62 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,3 +120,65 @@ services:
120
120
- "8080:8080"
121
121
```
122
122
123
+
124
+
125
+
### Adding bootstrap tasks
126
+
127
+
The Labspace configurator (which clones the repo) provides support to run bootstrap tasks to setup the project workspace, perform environment checks, etc.
128
+
129
+
To specify a setup script, set the `SETUP_SCRIPT` environment variable with a value to the full path of the script to execute.
130
+
131
+
> [!IMPORTANT]
132
+
> If you are defining a script using Compose `configs`, you will need to escape all environment variables as Compose will replace values at config file creation. See the example below for an example.
133
+
134
+
The following example adds a setup script that will validate the Labspace is running in a Docker Offload environment with GPU access:
0 commit comments