How to Set Up a Docker Container (Advanced)

If you have prior experience with setting up containers, here you may found the mere details on getting Sendent for MS Teams running. 

Docker Compose file:

version: '3.9'
services:
  sendent.msteams:
    image: rg.nl-ams.scw.cloud/sendent-public/sendent-msteams:latest
    build:
      context: ../
      dockerfile: ./Dockerfile
    restart: on-failure
	environment:
      - BASE_URL=<YOURDOMAIN>
      - MSAPP_TYPE=
	  - MSAPP_ID=
	  - MSAPP_PASSWORD=
	  - MSAPP_TENANT_ID=
	  - DEFAULT_NEXTCLOUD_URL=<YOURNEXTCLOUDOMAIN>
    ports:
      - "4200:4200"
    volumes:
      - ./docker-config:/usr/src/app/docker-config
    networks:
      - node_network
networks:
  node_network:

The following table explains the environment variables.

Name Description Example

BASE_URL

This should be the FQDN referencing to your publicly available docker image through reverse proxy.

https://msteams.sendent.dev

MSAPP_TYPE

Default: MultiTenant

MultiTenant

MSAPP_ID

This is the Azure Bot’s app-id.

20d67bc1-6f95-4c2d-a49c-e8463163e30d

MSAPP_PASSWORD

This is the Azure Bot’s password

Example_password_123!

MSAPP_TENANT_ID

Your Azure Tenant ID

92785bec-a2fa-434b-9105-9325e5cb721c

DEFAULT_NEXTCLOUD_URL

Your Nextcloud server FQDN.

https://nextcloud.sendent.dev

 


Was this article helpful?