Last active
January 30, 2017 15:43
-
-
Save yanmhlv/bd336e081db7fbd087fec54ceeea9e2c to your computer and use it in GitHub Desktop.
InfluxDB official docker image + Prometheus
This file contains hidden or 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: '2' | |
services: | |
influxdb: | |
image: influxdb:1.2.0-alpine | |
ports: | |
- 8083:8083 | |
- 8086:8086 | |
- 8088:8088 | |
volumes: | |
- "$PWD/influxdb.conf:/etc/influxdb/influxdb.conf:ro" | |
command: influxd -config /etc/influxdb/influxdb.conf | |
environment: | |
- INFLUXDB_GRAPHITE_ENABLED=true | |
- INFLUXDB_REPORTING_DISABLED=true | |
# - INFLUXDB_META_DIR=/path/to/metadir | |
# - INFLUXDB_DATA_QUERY_LOG_ENABLED=false | |
prometheus: | |
image: prom/prometheus | |
ports: | |
- 9090:9090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For prometheus
configuration
comparsion
exporters