-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathschema.cue
50 lines (42 loc) · 902 Bytes
/
schema.cue
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
#Applet: {
applet_name: string
name?: string
entrypoint?: string
image: string
image_tag: string | *"latest"
work_dir?: string
restart?: string | "no" | "always" | "on-failure" | "unless-stopped"
hostname?: string
interactive: bool | *true
tty: bool | *true
rm: bool | *true
kill?: bool
pull?: bool
detach?: bool
privileged?: bool
after_hooks?: [...#Applet]
before_hooks?: [...#Applet]
command?: [...string]
dns?: [...string]
dns_option?: [...string]
dns_search?: [...string]
environment?: [...string]
env_file?: [...string]
links?: [...string]
ports?: [...string]
volumes?: [...string]
networks?: [...string]
}
#Network: {
name: string
driver?: string
}
#Volume: {
name: string
driver?: string
}
environ: [string]: string
applets: [string]: #Applet
networks: [string]: #Network
volumes: [string]: #Volume
ignore: [string]: #Applet