chirpstack / chirpstack-docker

Setup ChirpStack using Docker Compose
https://www.chirpstack.io/
MIT License
273 stars 316 forks source link

how to change the username and password of the mqtt broker ? #87

Closed zhangyyhh closed 1 year ago

zhangyyhh commented 1 year ago

Hello, I am an engineer from China. May I ask how to change the username and password of the mqtt broker after installing the chirpstack server using Docker

brocaar commented 1 year ago

Please find all ChirpStack configuration files here: https://github.com/chirpstack/chirpstack-docker/tree/master/configuration

To configure Mosquitto with username / password authentication, please see:

zhangyyhh commented 1 year ago

I am using the chipstack v3 version. https://github.com/chirpstack/chirpstack-docker/tree/v3 May I know which configuration file I should modify? I cannot find a way to modify it. Could you please provide assistance

brocaar commented 1 year ago

Please see https://github.com/chirpstack/chirpstack-docker/tree/v3/configuration for the v3 branch. See as well the ChirpStack v3 documentation: https://www.chirpstack.io/docs/v3-documentation.html.

zhangyyhh commented 1 year ago

I edit chirpstack-gateway-bridge.toml as: [integration.mqtt.auth.generic] servers=["tcp://mosquitto:1883"] username="inspur" password="cxyjs123@"

and i edit mosquitto.conf as listener 1883 allow_anonymous false

but those opration all faild