1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-02 03:37:40 +02:00

update influxdb

This commit is contained in:
kev 2016-05-24 11:29:59 +08:00
parent 195dd00a54
commit bc7f0798c0
2 changed files with 16 additions and 3 deletions

View File

@ -1,12 +1,25 @@
influxdb 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 [InfluxDB][1] is an open source distributed time series database with no external
dependencies. It's useful for recording metrics, events, and performing dependencies. It's useful for recording metrics, events, and performing
analytics. analytics.
## docker-compose.yml ## docker-compose.yml
```yaml
influxdb:
image: influxdb:alpine
ports:
- "8083:8083"
- "8086:8086"
volumes:
- ./data:/var/lib/influxdb
restart: always
```
```yaml ```yaml
influxdb: influxdb:
image: vimagick/influxdb image: vimagick/influxdb

View File

@ -1,8 +1,8 @@
influxdb: influxdb:
image: vimagick/influxdb image: influxdb:alpine
ports: ports:
- "8083:8083" - "8083:8083"
- "8086:8086" - "8086:8086"
- "8088:8088" volumes:
- "25826:25826/udp" - ./data:/var/lib/influxdb
restart: always restart: always