From 3cdb23932021358b2a5c86b4a86a8cb76243b877 Mon Sep 17 00:00:00 2001 From: Ruflin Date: Sat, 8 Aug 2015 00:43:34 +0200 Subject: [PATCH] Make path tmp so it works on travis --- Makefile | 2 +- docker-compose.yml | 4 ++-- env/elasticsearch/elasticsearch.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 617993065f..4527e7857b 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ build: setup: build docker-compose scale elasticsearch=3 # TODO: Makes the snapshot directory writable for all instances. Nicer solution needed. - docker-compose run elasticsearch chmod -R 777 /tmp/ + docker-compose run elasticsearch chmod -R 777 /tmp/backups/ start: docker-compose up diff --git a/docker-compose.yml b/docker-compose.yml index 3b47c28c3f..b77c37278d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,5 +23,5 @@ nginx: data: image: ruflin/elastica-data volumes: - - "/mount/backups/backup1" - - "/mount/backups/backup2" + - "/tmp/backups/backup1" + - "/tmp/backups/backup2" diff --git a/env/elasticsearch/elasticsearch.yml b/env/elasticsearch/elasticsearch.yml index d710a86ef1..fea3890739 100644 --- a/env/elasticsearch/elasticsearch.yml +++ b/env/elasticsearch/elasticsearch.yml @@ -36,4 +36,4 @@ thrift.port: 9500 memcached.port: 11211 # Added for snapshot tests -path.repo: ["/mount/backups"] \ No newline at end of file +path.repo: ["/tmp/backups"] \ No newline at end of file