Skip to content

influxdb version 2 upgrade broke docker-compose #3

Open
@fcuiller

Description

@fcuiller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions