influxdata / influxdata/influxdata-docker
User admit doesn't get added
- Dominant language
- Shell
- Stars
- 364
- Forks
- 255
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 7
Description
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'
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Docker Compose configuration in the issue, especially the INFLUXDB_ADMIN_USER, INFLUXDB_ADMIN_PASSWORD, INFLUXDB_HTTP_AUTH_ENABLED, and persistent volume settings. Reproduce the container startup with the shown environment and verify whether the admin user is created and HTTP authentication works; done means the configured user can authenticate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- authentication, databases, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100