Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ ASSISTANT_TOKEN=""
EXPERT_URL="https://expert.flowfuse.com/v4/expert"
EXPERT_TOKEN=""
EXPERT_BROKER_SERVER="expert-broker.flowfuse.com"

### Team broker admin API credentials (used to bootstrap the local EMQX and to
### provision the Expert chat bridge). Both sides read the same values.
Comment thread
hardillb marked this conversation as resolved.
### Leave empty to use defaults
BROKER_API_KEY=""
BROKER_API_SECRET=""
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ configs:
public_url: ws${TLS_ENABLED:+s}://mqtt.${DOMAIN:?error}
teamBroker:
enabled: true
# Admin API credentials for the local EMQX (bootstrapped in the emqx-api
# config below). Required for the Expert chat bridge to provision itself.
api:
url: http://broker:18083/api/v5
key: ${BROKER_API_KEY:-flowfuse}
secret: ${BROKER_API_SECRET:-verySecret}
fileStore:
enable: true
url: http://file-server:3001
Expand Down Expand Up @@ -426,7 +432,7 @@ configs:
}
emqx-api:
content: |
flowfuse:verySecret:administrator
${BROKER_API_KEY:-flowfuse}:${BROKER_API_SECRET:-verySecret}:administrator
npm-registry-config:
content: |
storage: /verdaccio/storage
Expand Down