BotFramework Direct Line endpoint
Teams Notifier’s bot framework directline component
| homepage | https://github.com/teams-notifier/bf-directline-endpoint |
| registry | https://github.com/teams-notifier/bf-directline-endpoint/pkgs/container/bf-directline-endpoint |
| image | ghcr.io/teams-notifier/bf-directline-endpoint:latest |
Intro
This service will be publicly available and receive messages from BotFramework about user interactions. It’ll also generates the conversation_token accordingly and send related messages. It’s main focus is user interaction.
Initialization schema is in db/schema.sql.
Migration and further improvements will be handled by dbmate
Authentication
Authentication is either relying on MICROSOFT_APP_PASSWORD or MICROSOFT_APP_CERTIFICATE AND MICROSOFT_APP_PRIVATEKEY. Those has been generated from the Bot registration’s credential step
Configuration
Environment variables or .env:
PORT: Port to listen to (default: 3978)MICROSOFT_APP_ID: App registration application idMICROSOFT_APP_PASSWORD: Application passwordMICROSOFT_APP_CERTIFICATE: Base64 representation of the PEM certificateMICROSOFT_APP_PRIVATEKEY: Base64 representation of PEM privatekeyMICROSOFT_APP_TENANT_ID: Tenant IDDATABASE_URL: Database DSN in the form: postgresql://{USER}:{PASSWORD}@{HOST}/{DATABASE}