$ pwd
/mnt/c/LoadTest/Docker
$ vi influxdb/etc/influxdb.conf
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
engine = "tsm1"
wal-dir = "/var/lib/influxdb/wal"
# Configure the graphite api
[input_plugins.graphite]
enabled = true
address = "0.0.0.0" # If not set, is actually set to bind-address.
port = 2003
database = "jmeter" # store graphite data in this database
docker-compose.yml
influxdb, grafana のコンテナを作成します。
$ pwd
/mnt/c/LoadTest/Docker
$ vi docker-compose.yml
$ ls
docker-compose.yml grafana influxdb
$ pwd
/mnt/e/docker/load_test
$ docker-compose up -d
$ docker-compose ps
Name Command State Ports
----------------------------------------------------------------------------------------
load_test_grafana_1 /run.sh Up 0.0.0.0:3000->3000/tcp
load_test_influxdb_1 /entrypoint.sh influxd Up 0.0.0.0:8086->8086/tcp