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 Outlook running. 

Pease replace <YOURDOMAIN> with your actual own domain, with included protocol. For example: <YOURDOMAIN> becomes https://outlook.sendent.dev

Docker Compose file

Notice: Some extra environment variables might be applicable. This depends wether the installation is Microsoft Exchange On-Premise or Microsoft 365.

Please advice the following article and modify the docker compose file accordingly. 

version: '3.9'
services:
sendent.outlook:
image: rg.nl-ams.scw.cloud/sendent-public/sendent-outlook:latest
platform: linux/amd64
build:
context: .
dockerfile: Dockerfile
restart: on-failure
environment:
- BASE_URL=<YOURDOMAIN>
- FEATURES_CODES_TO_REMOVE=
ports:
- "4300:4300"
volumes:
- ./docker-config:/usr/src/app/outlook-addin/docker-config
networks:
- node_network
 
networks:
node_network:

Depending on the installation, you might want to remove certain features. 

For "FEATURES_CODES_TO_REMOVE=" you can set the following values to remove certain buttons and events in the Outlook add-in:
0 = Remove Activity Tracker
1 = Remove Secure Mail
2 = Remove On-Send event actions
3 = Remove Nextcloud Talk Desktop

Free users

We recommend the following default configuration.

BASE_URL=<YOURDOMAIN>
 
FEATURES_CODES_TO_REMOVE=0,1,2

Licensed users

We recommend the following default configuration.

<YOURNEXTCLOUDDOMAIN> should for example be https://nextcloud.sendent.dev

BASE_URL=<YOURDOMAIN>
 
FEATURES_CODES_TO_REMOVE=
 
DEFAULT_NEXTCLOUD_URL="<YOURNEXTCLOUDDOMAIN>"

Reverse proxy

Please ensure that either if NGINX or APACHE is used the maximum body size is increased.

  • NGINX: client_max_body_size  250M; (this sets the maximum file upload size to 250 MB).
  • APACHE: LimitRequestBody 262144000 (this sets the maximum file upload size to roughly 250 MB).

Was this article helpful?