Updated volumes and devices.
This commit is contained in:
parent
a417448e96
commit
bd85f9d34b
1 changed files with 12 additions and 1 deletions
|
@ -108,10 +108,21 @@
|
||||||
xen-orchestra = {
|
xen-orchestra = {
|
||||||
image = "docker.io/ronivay/xen-orchestra:5.136.0";
|
image = "docker.io/ronivay/xen-orchestra:5.136.0";
|
||||||
ports = [ "80:80" ];
|
ports = [ "80:80" ];
|
||||||
volumes = [ "xen-backups:/backups" ];
|
volumes = [
|
||||||
|
"xen-orchestra_xo-data:/var/lib/xo-server"
|
||||||
|
"xen-orchestra_redis-data:/var/lib/redis"
|
||||||
|
];
|
||||||
environment = {
|
environment = {
|
||||||
HTTP_PORT = "80";
|
HTTP_PORT = "80";
|
||||||
};
|
};
|
||||||
|
extraOptions = [
|
||||||
|
"--device=/dev/fuse:/dev/fuse"
|
||||||
|
"--device=/dev/loop-control:/dev/loop-control"
|
||||||
|
"--device=/dev/loop0:/dev/loop0"
|
||||||
|
"--device=/dev/loop0:/dev/loop1"
|
||||||
|
"--device=/dev/loop0:/dev/loop2"
|
||||||
|
"--device=/dev/loop0:/dev/loop3"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue