2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-30 17:47:21 +01:00

update influxdb

This commit is contained in:
kev
2025-04-14 17:16:03 +08:00
parent 4c735f9e80
commit ab87f2ba38
3 changed files with 22 additions and 93 deletions

View File

@@ -1,8 +1,13 @@
influxdb:
image: influxdb:alpine
ports:
- "8083:8083"
- "8086:8086"
volumes:
- ./data:/var/lib/influxdb
restart: always
#
# https://docs.influxdata.com/influxdb/v2/get-started/setup/
#
services:
influxdb:
image: influxdb:2-alpine
ports:
- "8086:8086"
volumes:
- ./data/etc:/etc/influxdb2
- ./data/var:/var/lib/influxdb2
restart: unless-stopped