summaryrefslogtreecommitdiffstats
path: root/docker-compose.template
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2017-10-27 10:35:20 +0200
committerCorentin LABBE <clabbe@baylibre.com>2017-10-27 10:35:20 +0200
commit09e2ea04485476093b97277cf4bf445052f4ba1b (patch)
tree01c4310dd22d3ef9a3a19c719de07aecb0015778 /docker-compose.template
parent1ba87d4097e4da3977f53ffd4fe808a3b0ec2c72 (diff)
Add squid for caching LAVA downloads
Diffstat (limited to 'docker-compose.template')
-rw-r--r--docker-compose.template11
1 files changed, 11 insertions, 0 deletions
diff --git a/docker-compose.template b/docker-compose.template
index dfe82c9..d7986ec 100644
--- a/docker-compose.template
+++ b/docker-compose.template
@@ -32,3 +32,14 @@ services:
- "55980-56000:55980-56000"
links:
- "lava-master"
+ squid:
+ hostname: squid
+ restart: always
+ build:
+ context: squid
+ volumes:
+ - squid-cache:/var/spool/squid
+ ports:
+ - "3128:3128"
+volumes:
+ squid-cache: