@enjoys/context-engine 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/codeActions/dart.json +31 -0
- package/data/codeActions/docker-compose.json +112 -0
- package/data/codeActions/kotlin.json +18 -0
- package/data/codeActions/scala.json +26 -0
- package/data/codeActions/swift.json +26 -0
- package/data/codeLens/dart.json +15 -0
- package/data/codeLens/docker-compose.json +4 -0
- package/data/codeLens/kotlin.json +10 -0
- package/data/codeLens/scala.json +18 -0
- package/data/codeLens/swift.json +15 -0
- package/data/color/dart.json +37 -0
- package/data/color/docker-compose.json +6 -0
- package/data/color/kotlin.json +12 -0
- package/data/color/scala.json +13 -0
- package/data/color/swift.json +37 -0
- package/data/commands/kotlin.json +45 -0
- package/data/commands/scala.json +171 -0
- package/data/commands/swift.json +67 -0
- package/data/completion/dart.json +1436 -0
- package/data/completion/docker-compose.json +959 -0
- package/data/completion/kotlin.json +1580 -0
- package/data/completion/scala.json +1076 -0
- package/data/completion/swift.json +1742 -0
- package/data/declaration/dart.json +25 -0
- package/data/declaration/docker-compose.json +42 -0
- package/data/declaration/kotlin.json +14 -0
- package/data/declaration/scala.json +23 -0
- package/data/declaration/swift.json +18 -0
- package/data/defination/dart.json +369 -0
- package/data/defination/docker-compose.json +347 -0
- package/data/defination/kotlin.json +789 -0
- package/data/defination/scala.json +285 -0
- package/data/defination/swift.json +551 -0
- package/data/documentHighlight/dart.json +84 -0
- package/data/documentHighlight/docker-compose.json +233 -0
- package/data/documentHighlight/kotlin.json +37 -0
- package/data/documentHighlight/scala.json +79 -0
- package/data/documentHighlight/swift.json +89 -0
- package/data/documentSymbol/dart.json +20 -0
- package/data/documentSymbol/docker-compose.json +75 -0
- package/data/documentSymbol/kotlin.json +15 -0
- package/data/documentSymbol/scala.json +21 -0
- package/data/documentSymbol/swift.json +17 -0
- package/data/formatting/dart.json +16 -0
- package/data/formatting/docker-compose.json +24 -0
- package/data/formatting/kotlin.json +14 -0
- package/data/formatting/scala.json +17 -0
- package/data/formatting/swift.json +19 -0
- package/data/hover/dart.json +161 -0
- package/data/hover/docker-compose.json +404 -0
- package/data/hover/kotlin.json +341 -0
- package/data/hover/scala.json +209 -0
- package/data/hover/swift.json +239 -0
- package/data/implementation/dart.json +14 -0
- package/data/implementation/docker-compose.json +7 -0
- package/data/implementation/kotlin.json +13 -0
- package/data/implementation/scala.json +16 -0
- package/data/implementation/swift.json +14 -0
- package/data/inlayHints/dart.json +29 -0
- package/data/inlayHints/docker-compose.json +43 -0
- package/data/inlayHints/kotlin.json +23 -0
- package/data/inlayHints/scala.json +42 -0
- package/data/inlayHints/swift.json +37 -0
- package/data/inlineCompletions/dart.json +27 -0
- package/data/inlineCompletions/docker-compose.json +89 -0
- package/data/inlineCompletions/kotlin.json +19 -0
- package/data/inlineCompletions/scala.json +26 -0
- package/data/inlineCompletions/swift.json +23 -0
- package/data/links/dart.json +16 -0
- package/data/links/docker-compose.json +47 -0
- package/data/links/kotlin.json +10 -0
- package/data/links/scala.json +17 -0
- package/data/links/swift.json +13 -0
- package/data/manifest.json +38 -0
- package/data/references/dart.json +15 -0
- package/data/references/docker-compose.json +42 -0
- package/data/references/kotlin.json +12 -0
- package/data/references/scala.json +15 -0
- package/data/references/swift.json +14 -0
- package/data/typeDefinition/dart.json +35 -0
- package/data/typeDefinition/docker-compose.json +4 -0
- package/data/typeDefinition/kotlin.json +33 -0
- package/data/typeDefinition/scala.json +52 -0
- package/data/typeDefinition/swift.json +56 -0
- package/package.json +1 -1
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "docker-compose",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"services": {
|
|
5
|
+
"signature": "services:",
|
|
6
|
+
"description": "Top-level element defining all containers (services) to run. Each service specifies an image or build context, ports, volumes, environment variables, and other container configuration.",
|
|
7
|
+
"type": "keyword",
|
|
8
|
+
"module": "Compose Spec"
|
|
9
|
+
},
|
|
10
|
+
"image": {
|
|
11
|
+
"signature": "image: <name>[:<tag>|@<digest>]",
|
|
12
|
+
"description": "Specify the Docker image to start the container from. Can reference images from a registry, a local image, or include a tag or digest.",
|
|
13
|
+
"type": "keyword",
|
|
14
|
+
"module": "Compose Spec"
|
|
15
|
+
},
|
|
16
|
+
"build": {
|
|
17
|
+
"signature": "build: <path> | build: { context: <path>, dockerfile: <file>, args: {}, target: <stage> }",
|
|
18
|
+
"description": "Configuration options applied at build time. Can be a path string to the build context, or a detailed object specifying context, dockerfile, build args, target stage, cache settings, and more.",
|
|
19
|
+
"type": "keyword",
|
|
20
|
+
"module": "Compose Spec"
|
|
21
|
+
},
|
|
22
|
+
"container_name": {
|
|
23
|
+
"signature": "container_name: <string>",
|
|
24
|
+
"description": "Specify a custom container name rather than a generated default. Because container names must be unique, you cannot scale a service with a custom container name.",
|
|
25
|
+
"type": "keyword",
|
|
26
|
+
"module": "Compose Spec"
|
|
27
|
+
},
|
|
28
|
+
"command": {
|
|
29
|
+
"signature": "command: <string> | command: [\"executable\", \"arg1\", ...]",
|
|
30
|
+
"description": "Override the default CMD declared by the container image. Can be a shell-form string or exec-form list.",
|
|
31
|
+
"type": "keyword",
|
|
32
|
+
"module": "Compose Spec"
|
|
33
|
+
},
|
|
34
|
+
"entrypoint": {
|
|
35
|
+
"signature": "entrypoint: <string> | entrypoint: [\"executable\", \"arg1\", ...]",
|
|
36
|
+
"description": "Override the default ENTRYPOINT from the image. Setting entrypoint also clears any default CMD.",
|
|
37
|
+
"type": "keyword",
|
|
38
|
+
"module": "Compose Spec"
|
|
39
|
+
},
|
|
40
|
+
"ports": {
|
|
41
|
+
"signature": "ports: [\"HOST:CONTAINER\", ...]",
|
|
42
|
+
"description": "Expose container ports. Short syntax: HOST:CONTAINER or just CONTAINER. Long syntax supports protocol, mode, host_ip, and published/target fields.",
|
|
43
|
+
"type": "keyword",
|
|
44
|
+
"module": "Compose Spec"
|
|
45
|
+
},
|
|
46
|
+
"expose": {
|
|
47
|
+
"signature": "expose: [\"<port>\", ...]",
|
|
48
|
+
"description": "Expose ports to linked services without publishing them to the host machine. Only the internal port is specified.",
|
|
49
|
+
"type": "keyword",
|
|
50
|
+
"module": "Compose Spec"
|
|
51
|
+
},
|
|
52
|
+
"environment": {
|
|
53
|
+
"signature": "environment: { KEY: value, ... } | environment: [\"KEY=value\", ...]",
|
|
54
|
+
"description": "Add environment variables to the container. Can use a mapping or a list. Boolean values (true/false/yes/no) must be quoted to avoid YAML parsing issues.",
|
|
55
|
+
"type": "keyword",
|
|
56
|
+
"module": "Compose Spec"
|
|
57
|
+
},
|
|
58
|
+
"env_file": {
|
|
59
|
+
"signature": "env_file: <path> | env_file: [<path>, ...]",
|
|
60
|
+
"description": "Add environment variables from a file. Each line in the file should be in VAR=VAL format. Lines beginning with # are comments.",
|
|
61
|
+
"type": "keyword",
|
|
62
|
+
"module": "Compose Spec"
|
|
63
|
+
},
|
|
64
|
+
"volumes": {
|
|
65
|
+
"signature": "volumes: [\"HOST:CONTAINER[:MODE]\", ...] | volumes: [{ type, source, target, ... }]",
|
|
66
|
+
"description": "Mount host paths or named volumes. Short syntax: HOST:CONTAINER:MODE. Long syntax allows specifying type (bind, volume, tmpfs, npipe), source, target, read_only, and bind/volume options.",
|
|
67
|
+
"type": "keyword",
|
|
68
|
+
"module": "Compose Spec"
|
|
69
|
+
},
|
|
70
|
+
"networks": {
|
|
71
|
+
"signature": "networks: [<network>, ...] | networks: { <network>: { aliases: [], ipv4_address: ... } }",
|
|
72
|
+
"description": "Networks to join. Can be a list of network names or a mapping with per-service network configuration like aliases and static IPs.",
|
|
73
|
+
"type": "keyword",
|
|
74
|
+
"module": "Compose Spec"
|
|
75
|
+
},
|
|
76
|
+
"depends_on": {
|
|
77
|
+
"signature": "depends_on: [<service>, ...] | depends_on: { <service>: { condition: <cond> } }",
|
|
78
|
+
"description": "Express startup and shutdown dependencies between services. Short form is a list; long form supports conditions: service_started, service_healthy, service_completed_successfully.",
|
|
79
|
+
"type": "keyword",
|
|
80
|
+
"module": "Compose Spec"
|
|
81
|
+
},
|
|
82
|
+
"restart": {
|
|
83
|
+
"signature": "restart: no | always | on-failure[:<max-retries>] | unless-stopped",
|
|
84
|
+
"description": "Restart policy for the container. 'no' never restarts, 'always' always restarts, 'on-failure' restarts on non-zero exit, 'unless-stopped' always restarts except when explicitly stopped.",
|
|
85
|
+
"type": "keyword",
|
|
86
|
+
"module": "Compose Spec"
|
|
87
|
+
},
|
|
88
|
+
"healthcheck": {
|
|
89
|
+
"signature": "healthcheck: { test: <cmd>, interval: <dur>, timeout: <dur>, retries: <n>, start_period: <dur> }",
|
|
90
|
+
"description": "Configure a check to determine if containers for this service are healthy. Test can be a string or CMD/CMD-SHELL list.",
|
|
91
|
+
"type": "keyword",
|
|
92
|
+
"module": "Compose Spec"
|
|
93
|
+
},
|
|
94
|
+
"deploy": {
|
|
95
|
+
"signature": "deploy: { replicas: <n>, resources: { limits: {}, reservations: {} }, restart_policy: {}, ... }",
|
|
96
|
+
"description": "Specify deployment and running configuration. Includes replicas, resource limits/reservations, restart policy, update/rollback config, placement constraints, and labels.",
|
|
97
|
+
"type": "keyword",
|
|
98
|
+
"module": "Compose Spec"
|
|
99
|
+
},
|
|
100
|
+
"logging": {
|
|
101
|
+
"signature": "logging: { driver: <driver>, options: { ... } }",
|
|
102
|
+
"description": "Logging configuration for the service. Supported drivers include json-file, syslog, journald, gelf, fluentd, awslogs, splunk, none.",
|
|
103
|
+
"type": "keyword",
|
|
104
|
+
"module": "Compose Spec"
|
|
105
|
+
},
|
|
106
|
+
"labels": {
|
|
107
|
+
"signature": "labels: { <key>: <value>, ... } | labels: [\"<key>=<value>\", ...]",
|
|
108
|
+
"description": "Add metadata to containers using Docker labels. Can be a mapping or a list.",
|
|
109
|
+
"type": "keyword",
|
|
110
|
+
"module": "Compose Spec"
|
|
111
|
+
},
|
|
112
|
+
"working_dir": {
|
|
113
|
+
"signature": "working_dir: <path>",
|
|
114
|
+
"description": "Override the container's working directory from the image's WORKDIR.",
|
|
115
|
+
"type": "keyword",
|
|
116
|
+
"module": "Compose Spec"
|
|
117
|
+
},
|
|
118
|
+
"user": {
|
|
119
|
+
"signature": "user: <uid>[:<gid>]",
|
|
120
|
+
"description": "Override the user used to run the container process. Format: user, user:group, uid, uid:gid.",
|
|
121
|
+
"type": "keyword",
|
|
122
|
+
"module": "Compose Spec"
|
|
123
|
+
},
|
|
124
|
+
"secrets": {
|
|
125
|
+
"signature": "secrets: [<secret>, ...] | secrets: [{ source, target, uid, gid, mode }]",
|
|
126
|
+
"description": "Grant access to secrets on a per-service basis. The secret must be defined in the top-level secrets section. Secrets are mounted at /run/secrets/<name> by default.",
|
|
127
|
+
"type": "keyword",
|
|
128
|
+
"module": "Compose Spec"
|
|
129
|
+
},
|
|
130
|
+
"configs": {
|
|
131
|
+
"signature": "configs: [<config>, ...] | configs: [{ source, target, uid, gid, mode }]",
|
|
132
|
+
"description": "Grant access to configs on a per-service basis. The config must be defined in the top-level configs section.",
|
|
133
|
+
"type": "keyword",
|
|
134
|
+
"module": "Compose Spec"
|
|
135
|
+
},
|
|
136
|
+
"network_mode": {
|
|
137
|
+
"signature": "network_mode: bridge | host | none | service:<name>",
|
|
138
|
+
"description": "Set the networking mode. 'host' uses the host's networking directly. 'service:<name>' shares another service's network namespace.",
|
|
139
|
+
"type": "keyword",
|
|
140
|
+
"module": "Compose Spec"
|
|
141
|
+
},
|
|
142
|
+
"cap_add": {
|
|
143
|
+
"signature": "cap_add: [<capability>, ...]",
|
|
144
|
+
"description": "Add container capabilities. Example capabilities: SYS_PTRACE, NET_ADMIN, SYS_ADMIN.",
|
|
145
|
+
"type": "keyword",
|
|
146
|
+
"module": "Compose Spec"
|
|
147
|
+
},
|
|
148
|
+
"cap_drop": {
|
|
149
|
+
"signature": "cap_drop: [<capability>, ...]",
|
|
150
|
+
"description": "Drop container capabilities. Common pattern: drop ALL then add back only needed capabilities.",
|
|
151
|
+
"type": "keyword",
|
|
152
|
+
"module": "Compose Spec"
|
|
153
|
+
},
|
|
154
|
+
"privileged": {
|
|
155
|
+
"signature": "privileged: true | false",
|
|
156
|
+
"description": "Give extended privileges to the container. Equivalent to docker run --privileged. Use with caution for security reasons.",
|
|
157
|
+
"type": "keyword",
|
|
158
|
+
"module": "Compose Spec"
|
|
159
|
+
},
|
|
160
|
+
"read_only": {
|
|
161
|
+
"signature": "read_only: true | false",
|
|
162
|
+
"description": "Mount the container's root filesystem as read-only. Use volumes or tmpfs for writable paths.",
|
|
163
|
+
"type": "keyword",
|
|
164
|
+
"module": "Compose Spec"
|
|
165
|
+
},
|
|
166
|
+
"security_opt": {
|
|
167
|
+
"signature": "security_opt: [\"<option>\", ...]",
|
|
168
|
+
"description": "Override the default labeling scheme for each container. Example: no-new-privileges:true, seccomp:unconfined.",
|
|
169
|
+
"type": "keyword",
|
|
170
|
+
"module": "Compose Spec"
|
|
171
|
+
},
|
|
172
|
+
"pid": {
|
|
173
|
+
"signature": "pid: host | pid: \"service:<name>\"",
|
|
174
|
+
"description": "Set the PID mode. 'host' shares the host PID namespace with the container.",
|
|
175
|
+
"type": "keyword",
|
|
176
|
+
"module": "Compose Spec"
|
|
177
|
+
},
|
|
178
|
+
"ipc": {
|
|
179
|
+
"signature": "ipc: host | shareable | service:<name>",
|
|
180
|
+
"description": "Configure IPC isolation mode. 'host' shares the host IPC namespace.",
|
|
181
|
+
"type": "keyword",
|
|
182
|
+
"module": "Compose Spec"
|
|
183
|
+
},
|
|
184
|
+
"extra_hosts": {
|
|
185
|
+
"signature": "extra_hosts: [\"<hostname>:<ip>\", ...]",
|
|
186
|
+
"description": "Add hostname mappings to the container's /etc/hosts file. Use 'host-gateway' as IP to map to the host's gateway address.",
|
|
187
|
+
"type": "keyword",
|
|
188
|
+
"module": "Compose Spec"
|
|
189
|
+
},
|
|
190
|
+
"dns": {
|
|
191
|
+
"signature": "dns: <ip> | dns: [<ip>, ...]",
|
|
192
|
+
"description": "Custom DNS server addresses.",
|
|
193
|
+
"type": "keyword",
|
|
194
|
+
"module": "Compose Spec"
|
|
195
|
+
},
|
|
196
|
+
"dns_search": {
|
|
197
|
+
"signature": "dns_search: <domain> | dns_search: [<domain>, ...]",
|
|
198
|
+
"description": "Custom DNS search domains.",
|
|
199
|
+
"type": "keyword",
|
|
200
|
+
"module": "Compose Spec"
|
|
201
|
+
},
|
|
202
|
+
"tmpfs": {
|
|
203
|
+
"signature": "tmpfs: <path> | tmpfs: [<path>, ...]",
|
|
204
|
+
"description": "Mount a temporary filesystem inside the container. Size can be limited with size option in long syntax.",
|
|
205
|
+
"type": "keyword",
|
|
206
|
+
"module": "Compose Spec"
|
|
207
|
+
},
|
|
208
|
+
"ulimits": {
|
|
209
|
+
"signature": "ulimits: { <limit>: <value> | { soft: <n>, hard: <n> } }",
|
|
210
|
+
"description": "Override the default ulimits for a container. Common limits: nofile, nproc, memlock.",
|
|
211
|
+
"type": "keyword",
|
|
212
|
+
"module": "Compose Spec"
|
|
213
|
+
},
|
|
214
|
+
"sysctls": {
|
|
215
|
+
"signature": "sysctls: { <key>: <value>, ... }",
|
|
216
|
+
"description": "Kernel parameters to set in the container. Only namespaced sysctls are supported.",
|
|
217
|
+
"type": "keyword",
|
|
218
|
+
"module": "Compose Spec"
|
|
219
|
+
},
|
|
220
|
+
"stop_signal": {
|
|
221
|
+
"signature": "stop_signal: <signal>",
|
|
222
|
+
"description": "Set an alternative signal to stop the container. Default is SIGTERM.",
|
|
223
|
+
"type": "keyword",
|
|
224
|
+
"module": "Compose Spec"
|
|
225
|
+
},
|
|
226
|
+
"stop_grace_period": {
|
|
227
|
+
"signature": "stop_grace_period: <duration>",
|
|
228
|
+
"description": "Time to wait for the container to stop gracefully before sending SIGKILL. Default is 10s.",
|
|
229
|
+
"type": "keyword",
|
|
230
|
+
"module": "Compose Spec"
|
|
231
|
+
},
|
|
232
|
+
"init": {
|
|
233
|
+
"signature": "init: true | false",
|
|
234
|
+
"description": "Run an init process (tini) inside the container that forwards signals and reaps zombie processes.",
|
|
235
|
+
"type": "keyword",
|
|
236
|
+
"module": "Compose Spec"
|
|
237
|
+
},
|
|
238
|
+
"platform": {
|
|
239
|
+
"signature": "platform: <os>/<arch>[/<variant>]",
|
|
240
|
+
"description": "Define the target platform for the container. Example: linux/amd64, linux/arm64.",
|
|
241
|
+
"type": "keyword",
|
|
242
|
+
"module": "Compose Spec"
|
|
243
|
+
},
|
|
244
|
+
"profiles": {
|
|
245
|
+
"signature": "profiles: [<profile>, ...]",
|
|
246
|
+
"description": "Define a list of named profiles for the service. Services with profiles are only started when a matching profile is activated.",
|
|
247
|
+
"type": "keyword",
|
|
248
|
+
"module": "Compose Spec"
|
|
249
|
+
},
|
|
250
|
+
"pull_policy": {
|
|
251
|
+
"signature": "pull_policy: always | never | missing | build",
|
|
252
|
+
"description": "Define when Compose should pull the image. 'always' pulls on every up, 'missing' only if not present locally, 'never' never pulls, 'build' always builds.",
|
|
253
|
+
"type": "keyword",
|
|
254
|
+
"module": "Compose Spec"
|
|
255
|
+
},
|
|
256
|
+
"extends": {
|
|
257
|
+
"signature": "extends: { file: <path>, service: <name> }",
|
|
258
|
+
"description": "Extend another service, in the current file or another, optionally overriding configuration.",
|
|
259
|
+
"type": "keyword",
|
|
260
|
+
"module": "Compose Spec"
|
|
261
|
+
},
|
|
262
|
+
"develop": {
|
|
263
|
+
"signature": "develop: { watch: [{ action: sync|rebuild|sync+restart, path: <path>, target: <path> }] }",
|
|
264
|
+
"description": "Configure file watching for live development with docker compose watch. Actions: sync (copy files), rebuild (rebuild and replace), sync+restart (copy and restart).",
|
|
265
|
+
"type": "keyword",
|
|
266
|
+
"module": "Compose Spec"
|
|
267
|
+
},
|
|
268
|
+
"include": {
|
|
269
|
+
"signature": "include: [{ path: <file> }, ...]",
|
|
270
|
+
"description": "Include other Compose files. Allows splitting a large application into sub-Compose files managed separately.",
|
|
271
|
+
"type": "keyword",
|
|
272
|
+
"module": "Compose Spec"
|
|
273
|
+
},
|
|
274
|
+
"version": {
|
|
275
|
+
"signature": "version: '<version>'",
|
|
276
|
+
"description": "Informational Compose file format version. Deprecated — the latest Compose spec is used automatically. Common values: '3.8', '3.9', '2.4'.",
|
|
277
|
+
"type": "keyword",
|
|
278
|
+
"module": "Compose Spec"
|
|
279
|
+
},
|
|
280
|
+
"name": {
|
|
281
|
+
"signature": "name: <string>",
|
|
282
|
+
"description": "Set the project name. Defaults to the directory name. Used as a prefix for container names, networks, and volumes.",
|
|
283
|
+
"type": "keyword",
|
|
284
|
+
"module": "Compose Spec"
|
|
285
|
+
},
|
|
286
|
+
"driver": {
|
|
287
|
+
"signature": "driver: <driver_name>",
|
|
288
|
+
"description": "Driver for a top-level network or volume. Network drivers: bridge, overlay, host, none, macvlan, ipvlan. Volume drivers: local, or third-party.",
|
|
289
|
+
"type": "keyword",
|
|
290
|
+
"module": "Compose Spec"
|
|
291
|
+
},
|
|
292
|
+
"ipam": {
|
|
293
|
+
"signature": "ipam: { driver: <driver>, config: [{ subnet: <cidr> }] }",
|
|
294
|
+
"description": "Custom IPAM (IP Address Management) configuration for a network. Specify subnets, gateways, and IP ranges.",
|
|
295
|
+
"type": "keyword",
|
|
296
|
+
"module": "Compose Spec"
|
|
297
|
+
},
|
|
298
|
+
"external": {
|
|
299
|
+
"signature": "external: true",
|
|
300
|
+
"description": "Indicate that a network or volume is managed outside of Compose. Compose does not create it and raises an error if it doesn't exist.",
|
|
301
|
+
"type": "keyword",
|
|
302
|
+
"module": "Compose Spec"
|
|
303
|
+
},
|
|
304
|
+
"shm_size": {
|
|
305
|
+
"signature": "shm_size: <size>",
|
|
306
|
+
"description": "Size of the shared memory (/dev/shm). Specified as a byte value (e.g., '2gb', '256m').",
|
|
307
|
+
"type": "keyword",
|
|
308
|
+
"module": "Compose Spec"
|
|
309
|
+
},
|
|
310
|
+
"hostname": {
|
|
311
|
+
"signature": "hostname: <string>",
|
|
312
|
+
"description": "Declare a custom hostname for the service container.",
|
|
313
|
+
"type": "keyword",
|
|
314
|
+
"module": "Compose Spec"
|
|
315
|
+
},
|
|
316
|
+
"domainname": {
|
|
317
|
+
"signature": "domainname: <string>",
|
|
318
|
+
"description": "Declare a custom domain name for the service container.",
|
|
319
|
+
"type": "keyword",
|
|
320
|
+
"module": "Compose Spec"
|
|
321
|
+
},
|
|
322
|
+
"devices": {
|
|
323
|
+
"signature": "devices: [\"<host_device>:<container_device>[:permissions]\"]",
|
|
324
|
+
"description": "List of device mappings from host to container. Permissions: r (read), w (write), m (mknod).",
|
|
325
|
+
"type": "keyword",
|
|
326
|
+
"module": "Compose Spec"
|
|
327
|
+
},
|
|
328
|
+
"runtime": {
|
|
329
|
+
"signature": "runtime: <runtime>",
|
|
330
|
+
"description": "Specify the runtime to use for the container. Example: nvidia for GPU workloads.",
|
|
331
|
+
"type": "keyword",
|
|
332
|
+
"module": "Compose Spec"
|
|
333
|
+
},
|
|
334
|
+
"scale": {
|
|
335
|
+
"signature": "scale: <number>",
|
|
336
|
+
"description": "Set the default number of containers to deploy for this service. Deprecated in favor of deploy.replicas.",
|
|
337
|
+
"type": "keyword",
|
|
338
|
+
"module": "Compose Spec"
|
|
339
|
+
},
|
|
340
|
+
"annotations": {
|
|
341
|
+
"signature": "annotations: { <key>: <value>, ... }",
|
|
342
|
+
"description": "Add OCI annotations to the container.",
|
|
343
|
+
"type": "keyword",
|
|
344
|
+
"module": "Compose Spec"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|