summaryrefslogtreecommitdiffstats
path: root/docker-compose.template
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-01-08 14:22:28 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-01-08 15:15:40 +0100
commitb2de2b9347e0e7f31be336d865263524c86c71b3 (patch)
tree8adef2b4965a4c7273e086f36ca2a199eb028a4a /docker-compose.template
parent94a6a8e07e3d7e6c3233554dae2056687590b651 (diff)
Fix libguestfs on slave
Libguestfs actions are done by the dispatcher, so the slave must be able to do them. In the same time, add a TODO for setting volumes as read_only.
Diffstat (limited to 'docker-compose.template')
-rw-r--r--docker-compose.template6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker-compose.template b/docker-compose.template
index 21f9231..b88ed85 100644
--- a/docker-compose.template
+++ b/docker-compose.template
@@ -14,7 +14,7 @@ services:
- "5555:5555"
- "5556:5556"
volumes:
-# boot and /lib/modules are for libguestfs
+# boot and /lib/modules are for libguestfs (TODO set them read_only with docker-compose 3.0)
- "/boot:/boot"
- "/lib/modules:/lib/modules"
lava-slave:
@@ -29,6 +29,10 @@ services:
- "69:69/udp"
- "80:80"
- "61950-62000:61950-62000"
+ volumes:
+# boot and /lib/modules are for libguestfs (TODO set them read_only with docker-compose 3.0)
+ - "/boot:/boot"
+ - "/lib/modules:/lib/modules"
links:
- "lava-master"
squid: