File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,16 @@ A variety of Windows and Docker usage examples are available in the
2323A Windows Nano Server image of this module is available here:
2424[ seabopo/pspodtester] ( https://hub.docker.com/r/seabopo/pspodtester )
2525
26- The following docker command runs the web server:
26+ The following docker command runs the web server with testing options enabled :
2727```
2828docker run -e "PSPOD_PRESET_Webserver=1" -p 80:80 seabopo/pspodtester:latest
2929```
3030
31+ The following docker command runs the web server without testing options enabled:
32+ ```
33+ docker run -e "PSPOD_PRESET_Webserver=1" -e "PSPOD_NOADMIN=1" -p 80:80 seabopo/pspodtester:latest
34+ ```
35+
3136This is a sample AKS deployment of the webserver:
3237```
3338apiVersion: apps/v1
6368 env:
6469 - name: PSPOD_APP_NAME
6570 value: "AppTester-CD"
71+ - name: PSPOD_NOADMIN
72+ value: "1"
6673 - name: PSPOD_PRESET_Webserver
6774 value: "1"
6875 - name: PSPOD_TEST_MessagePrefix
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ if ( $Test.DockerContainer )
172172 # Test Webserver Preset.
173173 docker run -- mount type= bind, source= C:\Repos\Github\psPodTester\psPodTester, target= C:\psPodTester `
174174 - e " PSPOD_PRESET_Webserver=1" `
175- - e " PSPOD_TEST_CpuThreads=2 " `
175+ - e " PSPOD_NOADMIN=1 " `
176176 - it -- user ContainerAdministrator `
177177 - p 80 :80 `
178178 mcr.microsoft.com / powershell:lts- nanoserver- 1809 `
You can’t perform that action at this time.
0 commit comments