Category / Section
How to Deploy Multiple Bold Reports Single Containers on the Same VM Using Different Ports.
Published:
Updated:
Overview
This article explains how to deploy multiple instances of Bold Reports Docker single container on the same virtual machine when port 443 is already in use.
Since only one container can bind to a specific host port (e.g., 443), additional instances must use a different host port (e.g., 8085).
Prerequisites
- Docker installed and running
- First Bold Reports container already deployed on port 443
- An available port (example: 8085)
- Firewall/Security Group updated to allow inbound traffic on the new port
- Separate persistent storage (recommended)
Applies To
- Bold Reports
- Docker-based single container deployment
- Windows Server / Linux VM environments
- Azure / AWS / On-prem environments
Scenario
| Instance | Host Port | Container Port | Access URL |
|---|---|---|---|
| Bold Reports – Instance 1 | 443 | 443 | https://demo.com |
| Bold Reports – Instance 2 | 8085 | 443 | https://demo.com:8085 |
Note: The container’s internal HTTPS port remains 443. Only the host port mapping changes.
Solution
Step 1: Deploy Second Container Using a Different Port
Update the Docker Compose file for the second deployment:
- Place the 2nd docker-compose.yaml file in different location
- Change the 2nd container name as different name and change the port as well
- Change the Postgres name as well
While deploying multiple Bold Reports instances on the same server, ensure that each deployment uses separate mount paths for:
- app_data directory
- PostgreSQL data directory
- NGINX configuration directory
This prevents data and configuration conflicts between the instances.
Step 2: Start the Second Deployment
docker-compose up -d
Verify:
docker ps
docker logs <container-id>
You should see:
0.0.0.0:8085->443/tcp
Step 3: Configure the nginx
Please follow below document to configure the nginx
How to configure ssl for docker-compose
Step 4: Restart the Container
docker-compose down
docker-compose up -d
Final Access URL
https://demo.com:8085