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