influxdata-docker
influxdata-docker copied to clipboard
User admit doesn't get added
Trying to add an admin user in order to activate http authentication.
However the admin user doesn't seem to get added.
Here's my docker compose file:
influx-client-web:
image: influxdb:latest
restart: always
environment:
INFLUXDB_DB: 'metrics'
INFLUXDB_HTTP_AUTH_ENABLED: 'true'
INFLUXDB_ADMIN_USER: '***'
INFLUXDB_ADMIN_PASSWORD: '***'
INFLUXDB_HTTP_LOG_ENABLED: 'false'
INFLUXDB_DATA_QUERY_LOG_ENABLED: 'false'
volumes:
- influx-web-data:/var/lib/influxdb
ports:
- '8086:8086'
DId you solve your problem? I have the same issue and I do not know what should I do
The administrator interface is deprecated as of 1.1.0 and will be removed in 1.3.0.
https://hub.docker.com/_/influxdb?tab=description
Just in case, it looks like the only way to get authentication running is to delete and recreate the volume until now, e.g. #232