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/env.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,7 @@ The `DOCKER_COMPUTE_ENVIRONMENTS` environment variable should be a JSON array of
137
137
{
138
138
"socketPath": "/var/run/docker.sock",
139
139
"scanImages": true,
140
+
"enableNetwork": false,
140
141
"imageRetentionDays": 7,
141
142
"imageCleanupInterval": 86400,
142
143
"resources": [
@@ -195,7 +196,9 @@ The `DOCKER_COMPUTE_ENVIRONMENTS` environment variable should be a JSON array of
195
196
#### Configuration Options
196
197
197
198
-**socketPath**: Path to the Docker socket (e.g., docker.sock).
198
-
-**scanImages**: If the docker images should be scan for vulnerabilities using trivy. If yes and critical vulnerabilities are found, then C2D job is refused
199
+
-**scanImages**: Whether Docker images should be scanned for vulnerabilities using Trivy. If enabled and critical vulnerabilities are found, the C2D job is rejected.
200
+
-**scanImageDBUpdateInterval**: How often to update the vulnerability database, in seconds. Default: 43200 (12 hours)
201
+
-**enableNetwork**: Whether networking is enabled for algorithm containers. Default: false
199
202
-**imageRetentionDays** - how long docker images are kept, in days. Default: 7
200
203
-**imageCleanupInterval** - how often to run cleanup for docker images, in seconds. Min: 3600 (1hour), Default: 86400 (24 hours)
201
204
-**paymentClaimInterval** - how often to run payment claiming, in seconds. Default: 3600 (1 hour)
0 commit comments