Skip to content

Instantly share code, notes, and snippets.

@JonathanLoscalzo
Forked from stefanotroia/tick-compose.yml
Created July 20, 2020 18:19
Show Gist options
  • Save JonathanLoscalzo/db4b69570223eda1c27b5c2f2c1358e0 to your computer and use it in GitHub Desktop.
Save JonathanLoscalzo/db4b69570223eda1c27b5c2f2c1358e0 to your computer and use it in GitHub Desktop.
TICK docker compose
version: '3'
services:
influxdb:
image: 'influxdb:latest'
container_name: influxDB
networks:
- tick-network
volumes:
- '/home/tick/influxdb/data:/var/lib/influxdb'
- '/home/tick/influxdb/config/:/etc/influxdb/'
ports:
- '8086:8086'
- '8082:8082'
environment:
- INFLUXDB_DB=influx
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
- INFLUXDB_HTTP_AUTH_ENABLED=true
chronograf:
image: 'chronograf:latest'
container_name: chronograf
networks:
- tick-network
volumes:
- '/home/tick/chronograf/data/:/var/lib/chronograf/'
ports:
- '8888:8888'
depends_on:
- influxdb
kapacitor:
image: 'kapacitor:latest'
container_name: kapacitor
networks:
- tick-network
environment:
- KAPACITOR_HOSTNAME=kapacitor
- KAPACITOR_INFLUXDB_0_URLS_0=http://influx:8086'
- KAPACITOR_INFLUXDB_0_USERNAME:admin
- KAPACITOR_INFLUXDB_0_PASSWORD:admin
volumes:
- '/home/tick/kapacitor:/var/lib/kapacitor'
ports:
- '9092:9092'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment