diff options
Diffstat (limited to 'docker-compose.template')
-rw-r--r-- | docker-compose.template | 6 |
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: |