influxdata / influxdata/influxdata-docker
Database initialization is not working
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 364
- Forks
- 255
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 7
Description
Tried to create database user and database in docker-compose.yml but it is not working. Nothing gets created. Please advise.
influxdb:
image: influxdb:latest
restart: always
container_name: influxdb
ports:
- "8086:8086"
environment:
- INFLUXDB_ADMIN_USER=USERNAME
- INFLUXDB_ADMIN_PASSWORD=PASS
- INFLUXDB_DB=DBTEST
- INFLUXDB_HTTP_ENABLED=true
- INFLUXDB_HTTP_AUTH_ENABLED=true
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the docker-compose.yml service shown in the issue and inspect the InfluxDB container startup output to determine why the supplied initialization variables have no effect. Compare the configured variables with the image's supported initialization behavior; done means a reproducible configuration creates the requested user and database.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100