forked from costela/docker-volume-hetzner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
81 lines (81 loc) · 1.93 KB
/
config.json
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"description": "Hetzner Cloud Volumes plugin for Docker",
"documentation": "https://github.com/costela/docker-volume-hetzner",
"entrypoint": [
"/plugin/docker-volume-hetzner"
],
"env": [
{
"name": "apikey",
"description": "authentication token to use when accessing the Hetzner Cloud API",
"settable": ["value"],
"value": ""
},
{
"name": "size",
"description": "standard size of the created volume in GB",
"settable": ["value"],
"value": "10"
},
{
"name": "prefix",
"description": "prefix to use when naming created volumes",
"settable": ["value"],
"value": "docker"
},
{
"name": "fstype",
"description": "filesystem type to be created on new volumes",
"settable": ["value"],
"value": "ext4"
},
{
"name": "uid",
"description": "uid to be assigned on new volumes",
"settable": ["value"],
"value": "0"
},
{
"name": "gid",
"description": "gid to be assigned on new volumes",
"settable": ["value"],
"value": "0"
},
{
"name": "use_protection",
"description": "whether to enable/disable delete protection on volumes managed by this plugin",
"settable": ["value"],
"value": "true"
},
{
"name": "loglevel",
"description": "log level passed to logrus",
"settable": ["value"],
"value": "warn"
}
],
"interface": {
"socket": "hetzner.sock",
"types": [
"docker.volumedriver/1.0"
]
},
"linux": {
"allowAllDevices": true,
"capabilities": ["CAP_SYS_ADMIN", "CAP_CHOWN"]
},
"mounts": [
{
"description": "used to access the dynamically attached block devices",
"destination": "/dev",
"options": ["rbind","rshared"],
"name": "dev",
"source": "/dev/",
"type": "bind"
}
],
"network": {
"type": "host"
},
"propagatedmount": "/mnt"
}