TL;DR: Ready to get started with BoldDocServer? Follow this step-by-step guide to deploy BoldDocServer in a Linux container, connect it to SharePoint Server through WOPI, and test document viewing, editing, and save-back. Learn how to configure HTTPS, register the WOPI integration, and verify your setup.
Want to bring document editing and viewing capabilities to your SharePoint environment? BoldDocServer lets users open supported Word, Excel, and PDF documents in a browser using Syncfusion’s document editing and viewing components.
If you’re new to BoldDocServer, start with our Introducing BoldDocServer: An Office Online Server Alternative for SharePoint Server blog to learn about its key features and how it works with SharePoint Server.
In this guide, we’ll walk through the setup process, from preparing your environment and launching BoldDocServer to connecting it to SharePoint through the Web Application Open Platform Interface (WOPI). We’ll also test the integration to verify document access, editing, and save-back in your configured environment.
Let’s get started!
Prerequisites
Before setting up BoldDocServer, make sure you have the following:
- Docker Engine and Docker Compose: Installed and configured to run Linux containers. On Windows, configure the Linux container environment through WSL 2.
- BoldDocServer Docker image: Access to the BoldDocServer image.
- License key: Your BoldDocServer license key.
- Hostname: A URL that SharePoint and users’ browsers can access, such as
https://bolddocserver.example.com. - TLS certificate and private key: A trusted certificate for your BoldDocServer hostname and its corresponding private key.
- NGINX: Installed and configured with port 443 available for HTTPS access.
- Redis server: A running Redis server and connection string for collaborative editing.
- Spell-check dictionary package: The dictionary package required to configure spell checking.
- SharePoint Server access: A test SharePoint document library, a .docx file, and an account with edit permission. You’ll also need a SharePoint administrator to configure the WOPI integration.
Ensure that SharePoint and users’ browsers can reach the BoldDocServer hostname over HTTPS. BoldDocServer must also be able to connect to SharePoint and Redis.
For platform compatibility, sizing, and runtime requirements, refer to the Deployment Prerequisites guide.
We recommend starting with a test SharePoint site or test SharePoint Server environment before configuring a production environment.
Step 1: Create the deployment folder
First, create a folder to hold your BoldDocServer deployment files. Inside it, create separate subfolders for TLS certificates and spell-check dictionaries.
For macOS or Linux
mkdir -p bolddocserver/certs bolddocserver/data
cd bolddocserverFor Windows PowerShell
New-Item -ItemType Directory -Force -Path "bolddocserver/certs", "bolddocserver/data"
Set-Location .\bolddocserverRun the Docker commands in this guide from the bolddocserver folder.
Step 2: Create the Docker Compose configuration
Docker Compose lets you define how BoldDocServer runs in a container, including its image, environment variables, network ports, and certificate and dictionary files.
Create a file named docker-compose.yaml inside the bolddocserver folder and add the following configuration.
services:
app:
image: syncfusion/bolddocserver:1.0.1
container_name: bolddocserver
environment:
BOLDDOCSERVER_LICENSE: "<your-license-key>"
WOPI_HOST_URL: "https://bolddocserver.example.com"
WOPI_DISCOVERY_ZONE: external-https
ENABLE_COLLABORATIVE_EDITING: "true"
VERSION_COMMIT_INTERVAL: "300000"
AUTO_SAVE_INTERVAL: "10000"
SPELLCHECK_DICTIONARY_PATH: /app/data
SPELLCHECK_JSON_FILENAME: spellcheck.json
SPELLCHECK_CACHE_COUNT: "2"
REDIS_CACHE_CONNECTION_STRING: "<your-redis-connection-string>"
REDIS_CACHE_SAVE_THRESHOLD: 100
SSL_CERT_PATH: /https/certificate.crt
SSL_KEY_PATH: /https/private-key.key
ports:
- "127.0.0.1:8443:443"
volumes:
- ./certs:/https:ro
- ./data:/app/data:roReplace the following values in the Compose file:
| Value | Replace with |
|---|---|
<your-license-key> |
Your BoldDocServer license key. |
https://bolddocserver.example.com |
Your externally accessible BoldDocServer HTTPS URL. The hostname must match your TLS certificate. |
<your-redis-connection-string> |
The connection string for the Redis server used for collaborative editing. |
Understanding the configuration
Here’s what the important environment variables do:
-
BOLDDOCSERVER_LICENSE: Activates BoldDocServer using your license key. -
WOPI_HOST_URL: Defines the externally accessible HTTPS URL used by SharePoint and clients to reach BoldDocServer. -
WOPI_DISCOVERY_ZONE: Specifies the WOPI discovery zone. This example uses external-https. -
ENABLE_COLLABORATIVE_EDITING: Enables collaborative editing. -
VERSION_COMMIT_INTERVAL: Sets the document version commit interval. The example uses 300000 milliseconds. -
AUTO_SAVE_INTERVAL: Sets the auto-save interval. The example uses 10000 milliseconds, or 10 seconds. -
SPELLCHECK_DICTIONARY_PATH: Specifies the location of the spell-check dictionary files inside the container. -
SPELLCHECK_JSON_FILENAME: Specifies the dictionary configuration filename. -
SPELLCHECK_CACHE_COUNT: Configures the spell-check cache count. -
REDIS_CACHE_CONNECTION_STRING: Connects BoldDocServer to Redis for collaborative editing. -
REDIS_CACHE_SAVE_THRESHOLD: Configures the Redis cache save threshold. -
SSL_CERT_PATH and SSL_KEY_PATH: Specify the TLS certificate and private key paths inside the container.
The port mapping 127.0.0.1:8443:443 exposes the application’s HTTPS endpoint on the local host at port 8443. NGINX will forward external HTTPS requests from port 443 to this endpoint.
The volume mappings mount the certificate and dictionary folders into the container as read-only files.
Keep your license key, Redis connection string, Compose configuration, and private key secure. Restrict access to deployment files and avoid committing credentials to public source-control repositories.
Step 3: Add certificates and dictionaries
Now, copy your TLS certificate chain and private key into the certs folder.
Use the following filenames:
-
certificate.crt -
private-key.key
Next, copy the spell-check dictionary package into the data folder. Make sure it includes spellcheck.json and any accompanying dictionary files.
Your deployment folder should now contain the following structure:
bolddocserver/
├── docker-compose.yaml
├── certs/
│ ├── certificate.crt
│ └── private-key.key
└── data/
├── spellcheck.json
└── (other files from the dictionary package)These filenames and folder locations must match the paths configured in the Docker Compose file. For instructions on creating spellcheck.json, refer to the Word spell check documentation.
Step 4: Configure NGINX for HTTPS
With the deployment files ready, configure NGINX to accept HTTPS requests on port 443 and forward them to the BoldDocServer application running on port 8443.
Create or update the NGINX server configuration for your BoldDocServer hostname
NGINX configuration
events {
worker_connections 1024;
}
http {
server {
listen 443 ssl;
server_name bolddocserver.example.com;
ssl_certificate /path/to/certificate.crt;
ssl_certificate_key /path/to/private-key.key;
location / {
proxy_pass https://127.0.0.1:8443;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 300s;
proxy_send_timeout 300s;
}
}
}Replace the following values with your deployment details:
-
server_name: The hostname configured for BoldDocServer. -
ssl_certificate: The path to your trusted TLS certificate. -
ssl_certificate_key: The path to the corresponding private key. -
proxy_pass: The BoldDocServer application endpoint published on the host.
The NGINX configuration location depends on your operating system and installation.
-
Windows and macOS: Add the server block inside the
http {}section of the mainnginx.conffile. -
Linux: Add the server block inside the existing
http {}section of/etc/nginx/nginx.conf, or create a separate site configuration under/etc/nginx/sites-available/and enable it through/etc/nginx/sites-enabled/.
If you’re using a separate site configuration, include only the server block. Don’t add separate events {} or http {} sections.
After updating the configuration, validate it and reload NGINX.
For Linux
sudo nginx -t
sudo systemctl reload nginxFor macOS
sudo nginx -t
sudo nginx -s reloadFor Windows PowerShell
Run the following commands from the NGINX installation directory:
.\nginx.exe -t
.\nginx.exe -s reloadNGINX must already be running before you reload it. If it isn’t running, start it first.
After successful validation and reload, NGINX should accept HTTPS requests on port 443 and forward them to BoldDocServer on port 8443.
For additional HTTPS configuration and deployment options, refer to the Deploy BoldDocServer guide.
Step 5: Start BoldDocServer
Now that you’ve prepared the Compose configuration, added the required files, and configured NGINX, it’s time to launch BoldDocServer.
From the directory containing docker-compose.yaml, run:
docker compose up -d
docker compose psThe first command starts BoldDocServer in the background. The second displays the status of the services defined in your Compose file.
Check that the app service is listed as running.
If the container doesn’t start, review the application logs and verify your image name, license key, environment variables, certificate paths, dictionary files, and Redis connection.
For startup issues, refer to the Troubleshooting guide.
Step 6: Check access from SharePoint
Once BoldDocServer is running and NGINX is configured, verify that your SharePoint Server can reach the BoldDocServer discovery endpoint over HTTPS.
Run the following command in PowerShell on the SharePoint server:
curl.exe -i https://bolddocserver.example.com/hosting/discoveryReplace bolddocserver.example.com with your actual BoldDocServer hostname.
The endpoint should respond successfully over trusted HTTPS and return an XML discovery document listing the supported document types and actions.

Check that the editor URLs in the XML use your configured BoldDocServer hostname.
A successful discovery response confirms that SharePoint can reach BoldDocServer and retrieve its WOPI discovery information. It doesn’t, by itself, confirm that document editing and saving work correctly. We’ll verify those operations after connecting SharePoint.
If the request fails, check DNS resolution, network connectivity, NGINX configuration, TLS certificate trust, and the BoldDocServer application status.
For further help, refer to the Discovery troubleshooting guide.
Step 7: Connect SharePoint through WOPI
With BoldDocServer running and its discovery endpoint accessible, the next step is to configure SharePoint Server to recognize and use it.
Ask a SharePoint Server administrator to complete this section in the SharePoint Management Shell on the test SharePoint server.
A. Review existing WOPI settings
Before registering BoldDocServer, inspect the existing document bindings and WOPI zone:
Get-SPWOPIBinding
Get-SPWOPIZoneBindings tell SharePoint which application opens each document type.
If bindings for your document types already exist, review the SharePoint Integration guide before making changes. Other integrations in your SharePoint environment may depend on the existing bindings.
B. Register BoldDocServer
Register BoldDocServer as a WOPI server by running:
New-SPWOPIBinding -ServerName "bolddocserver.example.com"Replace bolddocserver.example.com with your actual BoldDocServer hostname.
Use the hostname only. Don’t include https:// or a URL path.
C. Select the appropriate WOPI zone
The WOPI zone determines which editor URLs SharePoint uses when communicating with BoldDocServer.
If your discovery XML advertises the external-https zone and it matches your SharePoint setup, configure it using:
Set-SPWOPIZone -Zone "external-https"For other environments, select the appropriate zone based on your SharePoint topology and integration requirements.
Important: Changing the WOPI zone affects the SharePoint farm. Review your existing integrations before applying this setting.
D. Verify the WOPI binding
After registration, run the following commands:
Get-SPWOPIBinding -Server "bolddocserver.example.com"
Get-SPWOPIZoneConfirm that the bindings are listed for viewing and editing supported Word, Excel, and PDF documents, and that the configured zone matches your deployment.
For additional details about WOPI registration, supported zones, and troubleshooting, refer to the SharePoint Integration guide.
Step 8: Open, edit, and save a Word document
You’ve started BoldDocServer, verified its discovery endpoint, and configured the SharePoint connection. Now it’s time to test the complete document workflow.
Follow these steps using a test SharePoint document library:
-
Sign in to SharePoint using an account with edit permission.
-
Upload a test
.docxfile to the document library. -
Open the document from the SharePoint library in the BoldDocServer DOCX editor.
-
Add the sentence BoldDocServer save test to the document.
-
Use the editor’s save action, if available, or wait for auto-save. In this example, auto-save is configured to run every 10 seconds.
-
Wait for the save operation to complete, then close the editor.
-
Reopen the same document from the SharePoint library and verify that the added sentence is still present.
If the text is present after reopening the document, you’ve successfully opened, edited, and saved a Word document through BoldDocServer.
Test collaborative editing
You can also verify collaborative editing by opening the same document in another browser session using a second account with edit permission.
Make a change in one session and check whether it appears in the other session.
If a save error occurs, keep the document open and follow the Saving troubleshooting guide.
Note that SharePoint Version History depends on the document library’s versioning settings. Saving a document doesn’t necessarily create a new version.
Stop, start, or remove the deployment
You can manage your BoldDocServer deployment using Docker Compose commands.
To stop the containers while keeping the configuration:
docker compose stopTo start the stopped containers again:
docker compose startTo stop and remove the containers and Compose-created network:
docker compose downThe docker compose down command doesn’t delete bind-mounted files such as your certificate files, dictionary files, or docker-compose.yaml. It also doesn’t remove named volumes unless you explicitly specify --volumes.
Don’t use --volumes unless you intentionally want to remove the associated named volumes.
For deployment updates and additional lifecycle operations, refer to the Lifecycle Management documentation.
What’s next?
You’ve now deployed BoldDocServer, configured HTTPS through NGINX, connected it to SharePoint Server through WOPI, and tested browser-based Word document editing and saving.
Before making the deployment available to users, complete the security checks and acceptance tests for your environment. Confirm that document permissions, editing, saving, collaborative editing, and other enabled features behave as expected.
For more details, explore these resources:
-
Deployment Prerequisites: Review supported platforms, runtime requirements, and sizing.
-
Deploy BoldDocServer: Configure HTTPS, reverse proxies, networking, and deployment options.
-
Connect SharePoint: Review WOPI setup, zones, permissions, and acceptance tests.
-
Configuration Reference: Explore application settings and optional configurations.
-
Features and Document Support: Learn about Word, Excel, PDF, collaborative editing, and spell check.
-
Security and Permissions: Review security settings and access controls.
-
Troubleshooting Reference: Find help with startup, connectivity, and integration issues.
Ready to explore the product? Read Introducing BoldDocServer, then start a free trial and explore browser-based document editing and viewing in your SharePoint environment.
