This file as is makes a value of `"localhost"` as the address in the .filebrowser.json file read in as `"localhost"` instead of `localhost`. These quotes break the curl command. Using `-r` with jq fixes this.
When the `FB_PORT` environment variable is set, respect its value. Otherwise, pick the port from the configuration.