Skip to content

Commit

Permalink
Updating to ES 5 on docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Souza committed Jun 5, 2017
1 parent 2e796ae commit 6e27cb4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ elasticsearch:
host: "http://localhost:9123"
sniff: false
indexMappings:
chat: '{ "mappings": { "message":{"_ttl": { "enabled": true, "default": "2d" }}}}'
chat: '{ "mappings": { "message":{}}}'
redis:
host: "localhost"
port: 4444
Expand Down
2 changes: 1 addition & 1 deletion config/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ elasticsearch:
host: "http://localhost:9123"
sniff: false
indexMappings:
chat: '{ "mappings": { "message":{"_ttl": { "enabled": true, "default": "2d" }}}}'
chat: '{ "mappings": { "message":{}}}'
redis:
host: "localhost"
port: 4444
Expand Down
7 changes: 5 additions & 2 deletions test_containers/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ services:
labels:
- "local.example.description=Mosquitto v1.4.9 MQTT server"
elasticsearch:
image: elasticsearch:2.4
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.1
ports:
- "9123:9200"
- "9300:9300"
command: "elasticsearch -Des.logger.level=DEBUG"
environment:
- http.host=0.0.0.0
- transport.host=127.0.0.1
- xpack.security.enabled=false
networks:
mosqnet:

0 comments on commit 6e27cb4

Please sign in to comment.