MTIG-Stack/Pool/influx/docker-compose.yml
2026-01-12 16:30:16 +01:00

22 lines
No EOL
505 B
YAML

services:
influxdb:
image: influxdb:latest
restart: unless-stopped
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8086/health" ]
interval: 5s
timeout: 3s
retries: 20
ports:
- '8086:8086'
volumes:
- /home/christof/influx/storage/:/var/lib/influxdb
environment:
- INFLUXDB_DB=db0
- INFLUXDB_ADMIN_USER=influx_user
- INFLUXDB_ADMIN_PASSWORD=influx_pw
networks:
default:
name: mqtt5-network
external: true