Created
June 28, 2018 16:26
-
-
Save noahcrowley/6c8668683c0b0d7b8ecbe624f2a6333e to your computer and use it in GitHub Desktop.
TICK Stack Docker Compose for Raspbian
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: | |
# Full tag list: https://hub.docker.com/r/library/influxdb/tags/ | |
image: influxdb:latest | |
volumes: | |
# Mount for influxdb data directory | |
- ./influxdb/data:/var/lib/influxdb | |
# Mount for influxdb configuration | |
- ./influxdb/config/:/etc/influxdb/ | |
ports: | |
# The API for InfluxDB is served on port 8086 | |
- "8086:8086" | |
- "8082:8082" | |
# UDP Port | |
- "8089:8089" | |
telegraf: | |
# Full tag list: https://hub.docker.com/r/library/telegraf/tags/ | |
image: telegraf:latest | |
volumes: | |
# Mount for telegraf configuration | |
- ./telegraf/:/etc/telegraf/ | |
# Mount for Docker API access | |
- /var/run/docker.sock:/var/run/docker.sock | |
depends_on: | |
- influxdb | |
kapacitor: | |
# Full tag list: https://hub.docker.com/r/library/kapacitor/tags/ | |
image: kapacitor:latest | |
volumes: | |
# Mount for kapacitor data directory | |
- ./kapacitor/data/:/var/lib/kapacitor | |
# Mount for kapacitor configuration | |
- ./kapacitor/config/:/etc/kapacitor/ | |
ports: | |
# The API for Kapacitor is served on port 9092 | |
- "9092:9092" | |
chronograf: | |
# Full tag list: https://hub.docker.com/r/library/chronograf/tags/ | |
image: chronograf:latest | |
volumes: | |
# Mount for chronograf database | |
- ./chronograf/data/:/var/lib/chronograf/ | |
ports: | |
# The WebUI for Chronograf is served on port 8888 | |
- "8888:8888" | |
depends_on: | |
- kapacitor | |
- influxdb | |
- telegraf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment