add influxdb

This commit is contained in:
2026-06-19 13:05:10 +08:00
parent 4c30de9a74
commit ec690049b9
+16
View File
@@ -0,0 +1,16 @@
services:
influxdb:
image: influxdb
container_name: influxdb
restart: always
privileged: true
ports:
- "8086:8086"
volumes:
- /home/mplan/db/influxdb:/var/lib/influxdb
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=influxdb
- DOCKER_INFLUXDB_INIT_PASSWORD=influxdb
- DOCKER_INFLUXDB_INIT_ORG=influxdb
- DOCKER_INFLUXDB_INIT_BUCKET=influxdb