influxdata / influxdata/influxdata-docker

Problem with bind-address not being replaced by data provided in /etc/influxdb/influxdb.conf

Open
#195 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

/etc/influxdb/influxdb.conf content:
```
bind-address = ":8088"

[meta]
dir = "/var/lib/influxdb/meta"

[data]
dir = "/var/lib/influxdb/data"
engine = "tsm1"
wal-dir = "/var/lib/influxdb/wal"
```

influxd config result:
```
bash-4.3# influxd config

Merging with configuration at: /etc/influxdb/influxdb.conf
reporting-disabled = false
bind-address = "127.0.0.1:8088"
```

BTW, I tested replacing values inside a context, like `[meta]` and it works. It just don't work with the global values.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with /etc/influxdb/influxdb.conf and the `influxd config` command, then trace the Docker image's configuration handling. Done means the global bind-address from the file is reflected in the merged configuration, while the existing context-specific values continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.