From d2b5ee43f412847f85a8b426733b1c3cb6d53425 Mon Sep 17 00:00:00 2001 From: Vignir Isberg Date: Sat, 16 Feb 2019 20:31:32 +0100 Subject: [PATCH] add dockerfiles --- docker/docker-compose.yml | 16 ++++++++++++++++ docker/influxdb.env.example | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 docker/docker-compose.yml create mode 100644 docker/influxdb.env.example diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..f60de49 --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3' + +services: + influxdb: + image: influxdb + volumes: + - ./vol:/var/lib/influxdb + ports: + - 8086:8086 + env_file: + - influxdb.env + + grafana: + image: grafana/grafana + ports: + - 8080:3000 diff --git a/docker/influxdb.env.example b/docker/influxdb.env.example new file mode 100644 index 0000000..8e66f21 --- /dev/null +++ b/docker/influxdb.env.example @@ -0,0 +1,3 @@ +INFLUXDB_ADMIN_ENABLED=true +INFLUXDB_ADMIN_USER=thlogger +INFLUXDB_ADMIN_PASSWORD=