admin:influxdb

InfluxDB 1.x administration

create admin CREATE USER <username> WITH PASSWORD '<password>' WITH ALL PRIVILEGES
create user CREATE USER <username> WITH PASSWORD '<password>'
grant rights GRANT READ ON <database_name> TO <username>

Docs: Authentication and Authorization

cd /path/to/compose/folder
# replace influxdb with service name
docker-compose exec influxdb influx
  • Last modified: 2024-07-05 14:31