  influxdb:
    image: influxdb:${influxdb_version}
    container_name: influxdb
    ports:
      - '2004:2004'
      - '8083:8083'
      - '8086:8086'
    environment:
      INFLUXDB_ADMIN_USER: grafana
      INFLUXDB_ADMIN_PASSWORD: grafana
      INFLUXDB_DB: site
    volumes:
      - ./docker/blocks/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf

  fake-influxdb-data:
    image: grafana/fake-data-gen
    links:
      - influxdb
    environment:
      FD_DATASOURCE: influxdb
      FD_PORT: 8086

  telegraf:
    image: telegraf:1.10.4
    links:
      - influxdb
    volumes:
      - ./docker/blocks/influxdb/telegraf.conf:/etc/telegraf/telegraf.conf:ro
      - /var/log:/var/log
      - ../data/log:/var/log/grafana

