PostgreSQL dsn in chirpstack-network-server.toml

Hello, this is my first post and I’m very much a newbie to LoRaWAN backend, though I do have some experience with end-nodes.

I wanted to ask about the dsn for postgreSQL in chirpstack-network-server.toml.

The dsn, as currently written in the file looks like this:

dsn="postgres://localhost/chirpstack_ns?sslmode=disable"

However, the instructions above it in the file give a different format:

postgres://user:password@hostname/database?sslmode=disable

Given that I am changing the passwords from the default (for obvious reasons) do I need to edit the dsn to something like the following?

dsn="postgres://chirpstack_ns:new_password@localhost/chirpstack_ns?sslmode=disable"

Is it also possible (or even recommended) to do this if using the docker version? I’m currently trying to evaluate which version to install.

Thank you and regards
Mark

sure, you need to do that.