From bc7f0798c02b09e554a6be68230e86221ada5608 Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 24 May 2016 11:29:59 +0800 Subject: [PATCH] update influxdb --- influxdb/README.md | 13 +++++++++++++ influxdb/docker-compose.yml | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/influxdb/README.md b/influxdb/README.md index 3d4def4..e905876 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -1,12 +1,25 @@ influxdb ======== +> :warning: Please use the official image [influxdb](https://hub.docker.com/_/influxdb/)! + [InfluxDB][1] is an open source distributed time series database with no external dependencies. It's useful for recording metrics, events, and performing analytics. ## docker-compose.yml +```yaml +influxdb: + image: influxdb:alpine + ports: + - "8083:8083" + - "8086:8086" + volumes: + - ./data:/var/lib/influxdb + restart: always +``` + ```yaml influxdb: image: vimagick/influxdb diff --git a/influxdb/docker-compose.yml b/influxdb/docker-compose.yml index 5fe30c1..e9e0870 100644 --- a/influxdb/docker-compose.yml +++ b/influxdb/docker-compose.yml @@ -1,8 +1,8 @@ influxdb: - image: vimagick/influxdb + image: influxdb:alpine ports: - "8083:8083" - "8086:8086" - - "8088:8088" - - "25826:25826/udp" + volumes: + - ./data:/var/lib/influxdb restart: always