Skip to content

Instantly share code, notes, and snippets.

@up1
Last active March 18, 2024 03:30
Show Gist options
  • Save up1/34e4754713a245c37098dfd8e79084d6 to your computer and use it in GitHub Desktop.
Save up1/34e4754713a245c37098dfd8e79084d6 to your computer and use it in GitHub Desktop.
TICK stack with Spring Boot 2.0
$docker-compose up -d
Creating network "tick_default" with the default driver
Creating tick_influxdb_1 ... done
Creating tick_telegraf_1 ... done
Creating tick_kapacitor_1 ... done
Creating tick_chronograf_1 ... done
management.metrics.export.statsd.enabled=true
management.metrics.export.statsd.flavor=telegraf
management.metrics.export.statsd.port=8125
version: '3'
services:
telegraf:
image: telegraf:1.5.3
volumes:
- ./etc/telegraf.conf:/etc/telegraf/telegraf.conf:ro
links:
- influxdb
ports:
- "8125:8125/udp"
influxdb:
image: influxdb:1.5.1
volumes:
- ./data/influxdb:/var/lib/influxdb
ports:
- "8086:8086"
chronograf:
image: chronograf:1.4.3.1
environment:
INFLUXDB_URL: http://influxdb:8086
KAPACITOR_URL: http://kapacitor:9092
ports:
- "8888:8888"
links:
- influxdb
- kapacitor
kapacitor:
image: kapacitor:1.4.1
environment:
KAPACITOR_HOSTNAME: kapacitor
KAPACITOR_INFLUXDB_0_URLS_0: http://influxdb:8086
links:
- influxdb
ports:
- "9092:9092"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment