[admin]
enabled = true
Use environment variable:
INFLUXDB_ADMIN_ENABLED=true
$ vi docker-compose.yml
influxdb:
image: influxdb:latest
container_name: influxdb
ports:
- "8083:8083"
- "8086:8086"
environment:
- INFLUXDB_ADMIN_ENABLED=true
volumes:
- ./influxdb:/var/lib/influxdb
References :
influxdb/config.sample.toml at master · influxdata/influxdb
docker-influxdb-grafana/docker-compose.yml at master · nicolargo/docker-influxdb-grafana
沒有留言:
張貼留言