22 lines
No EOL
505 B
YAML
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 |