Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Install Docker Engine - Enterprise

...

Open PowerShell console as Administrator. Run 2 commands below.

Install-Module DockerMsftProvider -Force

Install-Package Docker -ProviderName DockerMsftProvider -Force

Install docker-compose. Run command: 

Invoke-WebRequest

...

"https://github.com/docker/compose/releases/download/1.25.0/docker-compose-Windows-x86_64.exe"

...

-UseBasicParsing

...

-OutFile

...

$Env:ProgramFiles\Docker\docker-compose.exe

Build Redis

Download iqx.onelist solution from repository.

Open cmd from <solution root>\WinBuild\redis, run command "docker -t redis build ." .

Build MongoDB

Download iqx.onelist solution from repository.

Open cmd from <solution root>\WinBuild\mongo, run command "docker -t mongo build ." .

Build OneList Apps

Run Powershell script <solution root>/IQX.OneList/docker-compose-win.ps1

Start OneList Apps

...

Pull images

Login to AzureCR

docker login -u iqxbusiness --password-stdin iqxbusiness.azurecr.io

Pull images

docker-compose pull

Start OneList containers

docker-compose up -d

IIS Proxy

Enable WebSocket Protocol and Dynamic Content Compression feature.  Open "Server Manager" → Select "Add Roles and Features" → "Server Roles" → "Web Server"

...

Activate reverse proxy: Select IIS root → Open “Application Request Routing Cache” → Select “Server Proxy Settings” → Check the box “Enable Proxy”, uncheck "Reverse rewrite host in response headers" and click Apply

Add these server variables to URL Rewrite module: Select OneList site → Open URL Rewrite → Select "View Server Variables" → Add following variables: HTTP_X_Forwarded_Host, HTTP_X_Forwarded_Port, HTTP_X_Forwarded_Proto, HTTP_X_Original_URI.  

Place web.config file to root folder of the IIS site.


Build Redis

Download iqx.onelist solution from repository.

Open cmd from <solution root>\WinBuild\redis, run command "docker -t redis build ." .

Build MongoDB

Download iqx.onelist solution from repository.

Open cmd from <solution root>\WinBuild\mongo, run command "docker -t mongo build ." .

Build OneList Apps

Run Powershell script <solution root>/IQX.OneList/docker-compose-win.ps1

Start OneList Apps

Run Powershell script <solution root>/IQX.OneList/docker-compose-win-up.ps1