mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
devenv: fix loki&elastic naming conflict (#57268)
This commit is contained in:
parent
764d5b9929
commit
e8cad52132
@ -1,6 +1,6 @@
|
||||
# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine
|
||||
|
||||
elasticsearch:
|
||||
elastic:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:${elastic_version}
|
||||
command: elasticsearch
|
||||
environment:
|
||||
@ -10,11 +10,11 @@
|
||||
ports:
|
||||
- "9200:9200"
|
||||
|
||||
data:
|
||||
elastic-data:
|
||||
build: docker/blocks/elastic/data
|
||||
command: node /home/node/data.js http://elasticsearch:9200
|
||||
command: node /home/node/data.js http://elastic:9200
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
- elastic
|
||||
# elastic starts slowly, the first couple start of data.js
|
||||
# might fail, so we auto-restart it on failure.
|
||||
restart: "on-failure"
|
@ -3,7 +3,7 @@
|
||||
ports:
|
||||
- "3100:3100"
|
||||
|
||||
data:
|
||||
loki-data:
|
||||
build: docker/blocks/loki/data
|
||||
command: node /home/node/data.js http://loki:3100
|
||||
depends_on:
|
||||
|
Loading…
Reference in New Issue
Block a user