Skip to content

Commit

Permalink
Make path tmp so it works on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin committed Aug 7, 2015
1 parent 9a7bc39 commit 3cdb239
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ nginx:
data:
image: ruflin/elastica-data
volumes:
- "/mount/backups/backup1"
- "/mount/backups/backup2"
- "/tmp/backups/backup1"
- "/tmp/backups/backup2"
2 changes: 1 addition & 1 deletion env/elasticsearch/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ thrift.port: 9500
memcached.port: 11211

# Added for snapshot tests
path.repo: ["/mount/backups"]
path.repo: ["/tmp/backups"]

0 comments on commit 3cdb239

Please sign in to comment.