From 31555bcb6555d080e7072fba2fc8ccda0fd59eaa Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 12 Apr 2018 11:59:07 +0200 Subject: Implement Multipleslave This patch implement multiple slave support. Instead of having a maximum of one master and one slave in one docker image, it is now possible to have multiple slave accross several docker host. For helping this change, a new boards.yaml format is introduced (See README.md for details) Note that tokens.yaml is also squashed in boards.yaml --- docker-compose.template | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 docker-compose.template (limited to 'docker-compose.template') diff --git a/docker-compose.template b/docker-compose.template deleted file mode 100644 index ced5762..0000000 --- a/docker-compose.template +++ /dev/null @@ -1,45 +0,0 @@ -version: '2.0' -services: - lava-master: - hostname: lava-master - restart: always - build: - context: lava-master - ports: - - "10080:80" - - "5555:5555" - - "5556:5556" - volumes: -# boot and /lib/modules are for libguestfs (TODO set them read_only with docker-compose 3.0) - - "/boot:/boot" - - "/lib/modules:/lib/modules" - lab-slave-0: - hostname: lab-slave-0 -#conmux does not support dns_search - dns_search: "" - restart: always - build: - context: lava-slave - environment: - LAVA_MASTER: "lava-master" - ports: - - "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: - hostname: squid - restart: always - build: - context: squid - volumes: - - squid-cache:/var/spool/squid - ports: - - "3128:3128" -volumes: - squid-cache: -- cgit 1.2.3-korg