summaryrefslogtreecommitdiffstats
path: root/docker-compose.template
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-04-12 11:59:07 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-06-05 15:36:31 +0200
commit31555bcb6555d080e7072fba2fc8ccda0fd59eaa (patch)
treee70c096e7714be50f2d7b9f4419f07dbe4452ec7 /docker-compose.template
parent287e03c09e34ec77d696fcd7ad55912cc127a859 (diff)
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
Diffstat (limited to 'docker-compose.template')
-rw-r--r--docker-compose.template45
1 files changed, 0 insertions, 45 deletions
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: