Windows container install guide
Table of contents
Deployment architecture
Prerequisites
Windows Server 2019 with Docker installed
Two MonogDB databases and oplog (mongoDB cluster in-built local database). MongoDB can be deployed in mongoDB.com, compose.io or as an on-prem installation.
Allow service ports for MongoDB, Minio and Buzzy from Windows firewall.
Install object storage app
As Buzzy main app requires two S3 compatible object storages, Minio is installed as an S3 compatible object storage application on Windows server.
Download and run Minio:
Download Minio.exe
Run Windows batch script below to start Minio service
Test Minio service using the browser
Deploy Buzzy app
Buzzy containers are deployed using docker-compose and require YML files including Buzzy configurations for Buzzy main and Logging apps. For this deployment, we use local IP addresses with port numbers to establish connections between services internally. Running a proxy server will be ideal to expose Buzzy service externally. Follwoing steps deploy the Windows image.
Pull Buzzy Windows image from Buzzy’s Docker registry into your Windows server.
Create “docker-compose.yml” file using the template provided below and modify configuration values reflecting your environment settings.
YML file:
So far, you have completed following components using above steps.
Buzzy image pulled from Buzzy Docker repository
Minio application installed and running
docker-compose.yml file is created
Now, run docker-compose up command in Powershell or command prompt to deploy Buzzy main app.
Check the connection to the Buzzy app (locally) using the browser URL http://localhost:9000
After deploying an ingress service as the below section, you may have to change the ROOT_URL value in the YML file to reflect your externally accessible DNS name.
Manage ingress traffic
Buzzy application running in Windows docker container can be exposed externally depending on the deployment environment. Following are possible options:
A load balancer, application gateway or reverse proxy service. Refer Azure application gateway or AWS application loadbalancer (ALB) documentations. AWS ALB documentation Azure application gateway documentation
Use IIS with URL Rewrite as a reverse proxy. You may install and configure IIS in the same Windows server that runs Buzzy container to route external ingress traffic using URL Rewrite rules. Refer to IIS documentation..
Last updated