Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influxdb version 2 upgrade broke docker-compose #3

Open
fcuiller opened this issue Mar 8, 2021 · 1 comment · May be fixed by #5
Open

influxdb version 2 upgrade broke docker-compose #3

fcuiller opened this issue Mar 8, 2021 · 1 comment · May be fixed by #5

Comments

@fcuiller
Copy link

fcuiller commented Mar 8, 2021

When using latest influxdb container (version 2), influxdb autoconfiguration doesn't work (username, database etc.).
This is because influxDB changed their format: https://hub.docker.com/_/influxdb

Automated Setup

The InfluxDB image contains some extra functionality to automatically bootstrap the system. This functionality is enabled by setting the DOCKER_INFLUXDB_INIT_MODE environment variable to the value setup when running the container. Additional environment variables are used to configure the setup logic:

DOCKER_INFLUXDB_INIT_USERNAME: The username to set for the system's initial super-user (Required).
DOCKER_INFLUXDB_INIT_PASSWORD: The password to set for the system's inital super-user (Required).
DOCKER_INFLUXDB_INIT_ORG: The name to set for the system's initial organization (Required).
DOCKER_INFLUXDB_INIT_BUCKET: The name to set for the system's initial bucket (Required).

Updating the docker-compose file to stick to 1.8 version as a short-term workaround. Will address version 2 format later.

@der-faebu
Copy link

@jkehres
Hi Jeff
I've updated the config for influxdb 2.x but it seems that I can't push to the repo. Please give me access and I'll gladly send you a pull request for the changes.

cheers,
faebu

@sirtoobii sirtoobii linked a pull request Nov 4, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants