Skip to main content

Local environment

note

Installation prerequisites

Infrastracture setup#

Here you find the docker-compose file to setup basic infrastracture for logging and realtime metrics. Just save it in your project folder and run.

// to start, use:
docker-compose up -d
// to stop, use:
docker-compose down
docker-compose.yaml
version: '3'
services:
influxdb:
image: "influxdb:1.8.1"
environment:
INFLUXDB_DB: "\"default\""
ports:
- "8086:8086"
grafana:
image: "grafana/grafana:7.1.3"
environment:
- "GF_SERVER_ROOT_URL=http://grafana:6082"
ports:
- "3000:3000"
depends_on:
- "influxdb"
elasticsearch:
image: "elasticsearch:7.8.1"
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.type=single-node"
ports:
- "9200:9200"
- "9300:9300"
kibana:
image: "kibana:7.8.1"
ports:
- "5601:5601"