Skip to content

Environment variable OTR_TOPICS has no effect #49

@saesh

Description

@saesh

When passing the environment variable OTR_TOPICS to the docker container it is not overriding what is written in the recorder.conf file.

$ docker inspect owntracks-recorder
...
"Config": {
            "Env": [
                ...
                "OTR_TOPICS=owntracks/some-user/#",
            ],
}

When looking at the logs of the container it subscribes to the topic defined in the default recorder.conf:

$ docker logs owntracks-recorder
ot-recorder[11]: Subscribing to owntracks/# (qos=2)

And the recorder.conf:

$ cat owntracks-recorder-volume/config/recorder.conf
OTR_TOPICS = "owntracks/#"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions