Created
November 5, 2019 17:23
-
-
Save stefanotroia/04637bb7530af1f8591186b0515fb9a7 to your computer and use it in GitHub Desktop.
TICK docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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