Open PowerShell console as Administrator. Run 2 commands below.
Install-Module DockerMsftProvider -Force
Install-Package Docker -ProviderName DockerMsftProvider -Force
Restart server.
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
Create a new folder. Name it as the <environment> value. Download and save docker-compose.yml and .env file to the folder.
Open the ".env" file in notepad and update the following fields with the actual value.
Save the ".env" file then run the command below.
Open PowerShell console from the folder created in previous step. Run following 3 commands.
Login to AzureCR
docker login -u iqxbusiness --password-stdin iqxbusiness.azurecr.io
Pull images
docker-compose pull
Start OneList containers
docker-compose up -d
Enable WebSocket Protocol and Dynamic Content Compression feature. Open "Server Manager" → Select "Add Roles and Features" → "Server Roles" → "Web Server"
Install URL Rewrite and Application Request Routing IIS module.
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.