1.5 KiB
1.5 KiB
MusicLink Deployment Summary
We have successfully integrated the MusicLink bot into the ops-jrz1 production environment.
Architecture
We deployed MusicLink using a Matrix-mediated architecture to bypass Matterbridge's lack of support for Slack Socket Mode (which our App configuration requires).
Flow:
Slack User -> #music -> mautrix-slack -> Matrix Room -> Matterbridge -> MusicLink
Integration Details
- No Code Changes: We used the
musiclinkrepository as-is (via Nix Flake input). All deployment logic resides in our infrastructure repo (ops-jrz1). - Service Isolation: The bot runs as a systemd service (
musiclink.service) withDynamicUserand restricted permissions. - Connectivity:
- We run a bundled
Matterbridgeinstance (musiclink-matterbridge.service) configured to connect to our Matrix homeserver. MusicLinkconnects to this local Matterbridge via WebSocket (ws://127.0.0.1:4242).- We granted the bot's Matrix user (
@musiclink:clarun.xyz) server admin privileges to allow it to join the invite-only portal rooms bridging Slack.
- We run a bundled
Status
- Active: The bot is running and monitoring the bot testing room (
!whU7Geg7JPrBL5wHcW:clarun.xyz). - Verified: We confirmed bidirectional communication by having the bot post a test message (GIF) to the room.
- Next Steps: We will enable it for the main
#musicchannel once we confirm link conversion logic in the testing room.