Skip to content

config lost after new build of stack #258

@KLelong

Description

@KLelong

Hi,
I'm new to IoTStack.
I installed it on an ubuntu server. Since I want to migrate from "native" applications to docker I'm going step by step.
One thing I discovered is that when I add a container (./menu.sh) and then run docker-compose up -d, I lose configurations. At least from mosquitto, which is my first container.
E.g. I configured mosquitto to use ssl-certificates and port 8883. This starts OK. But when I add e.g. InfluxDB and run docker-compose up -d again, my configuration of mosquitto is reverted to "out of the box" i.e. my modifications are lost.
Is this normal behaviour ? Now I backup my configuration before I run docker-compose up -d.
For some things, I use compose-override.yml, but do I need this for mosquitto.conf ?
TIA

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