Here is my mattermost configuration
"mattermost": {
"enabled": true,
"botToken": "7eeejrat478p7mbsc1ktjgcdwy",
"baseUrl": "https://external.host.com",
"dmPolicy": "pairing",
"commands": {
"native": true,
"nativeSkills": true,
"callbackPath": "/api/channels/mattermost/command",
"callbackUrl": "http://internal-host:18789/api/channels/mattermost/command"
}
And the slash commands are not working. I did see this in logs, and wondering why it thinks it is localhost
mattermost: interactions callbackUrl resolved to http://localhost:18789/mattermost/interactions/default (loopback) while baseUrl is https://external.host.com. This MAY be unreachable depending on your deployment. If button clicks don't work, set channels.mattermost.interactions.callbackBaseUrl to a URL reachable from the Mattermost server (e.g. your public reverse proxy URL).